feat(cfg): remove lsp-format

because i already have formatting :\
pull/592/head
EGRrqq 2 years ago
parent 03c4e3a719
commit 6ff24a02de

@ -454,7 +454,7 @@ local servers = {
-- gopls = {}, -- gopls = {},
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- tsserver = {}, tsserver = {},
-- html = { filetypes = { 'html', 'twig', 'hbs'} }, -- html = { filetypes = { 'html', 'twig', 'hbs'} },
-- requirement for https://github.com/olrtg/nvim-emmet -- requirement for https://github.com/olrtg/nvim-emmet

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

@ -46,9 +46,9 @@ return {
-- Tsserver usually works poorly. Sorry you work with bad languages -- Tsserver usually works poorly. Sorry you work with bad languages
-- You can remove this line if you know what you're doing :) -- You can remove this line if you know what you're doing :)
if client.name == 'tsserver' then -- if client.name == 'tsserver' then
return -- return
end -- end
-- Create an autocmd that will run *before* we save the buffer. -- Create an autocmd that will run *before* we save the buffer.
-- Run the formatting command for the LSP that has just attached. -- Run the formatting command for the LSP that has just attached.

Loading…
Cancel
Save