feat(cfg): remove lsp-format
because i already have formatting :\
This commit is contained in:
parent
03c4e3a719
commit
6ff24a02de
2
init.lua
2
init.lua
|
@ -454,7 +454,7 @@ local servers = {
|
|||
-- gopls = {},
|
||||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
-- tsserver = {},
|
||||
tsserver = {},
|
||||
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
|
||||
|
||||
-- requirement for https://github.com/olrtg/nvim-emmet
|
||||
|
|
|
@ -8,7 +8,4 @@ return {
|
|||
|
||||
--"surroundings": parentheses, brackets, quotes, XML tags, and more
|
||||
'tpope/vim-surround',
|
||||
|
||||
--wrapper around Neovims native LSP formatting
|
||||
"lukas-reineke/lsp-format.nvim",
|
||||
}
|
||||
|
|
|
@ -46,9 +46,9 @@ return {
|
|||
|
||||
-- Tsserver usually works poorly. Sorry you work with bad languages
|
||||
-- You can remove this line if you know what you're doing :)
|
||||
if client.name == 'tsserver' then
|
||||
return
|
||||
end
|
||||
-- if client.name == 'tsserver' then
|
||||
-- return
|
||||
-- end
|
||||
|
||||
-- Create an autocmd that will run *before* we save the buffer.
|
||||
-- Run the formatting command for the LSP that has just attached.
|
||||
|
|
Loading…
Reference in New Issue