feat(cfg): add lsp-format.nvim
https://github.com/lukas-reineke/lsp-format.nvim
This commit is contained in:
parent
2e4ccafb32
commit
03c4e3a719
6
init.lua
6
init.lua
|
@ -555,9 +555,9 @@ vim.opt.relativenumber = true
|
||||||
vim.opt.guicursor = ""
|
vim.opt.guicursor = ""
|
||||||
|
|
||||||
-- 4 tab indenting
|
-- 4 tab indenting
|
||||||
vim.opt.tabstop = 4
|
vim.opt.tabstop = 2
|
||||||
vim.opt.softtabstop = 4
|
vim.opt.softtabstop = 2
|
||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 2
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
|
|
||||||
-- move line up/down
|
-- move line up/down
|
||||||
|
|
|
@ -8,4 +8,7 @@ return {
|
||||||
|
|
||||||
--"surroundings": parentheses, brackets, quotes, XML tags, and more
|
--"surroundings": parentheses, brackets, quotes, XML tags, and more
|
||||||
'tpope/vim-surround',
|
'tpope/vim-surround',
|
||||||
|
|
||||||
|
--wrapper around Neovims native LSP formatting
|
||||||
|
"lukas-reineke/lsp-format.nvim",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue