feat(cfg): remove lsp-format

because i already have formatting :\
This commit is contained in:
EGRrqq 2023-09-21 12:56:06 -05:00
parent 03c4e3a719
commit 6ff24a02de
3 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -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",
}

View File

@ -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.