prettier and eslint configured

This commit is contained in:
Chris 2021-03-18 23:47:03 -04:00
parent b3f2348d97
commit 7eea23bb6c
9 changed files with 123 additions and 93 deletions

View file

@ -7,4 +7,9 @@
-- require'completion'.on_attach(client)
-- require'illuminate'.on_attach(client)
-- end
require'lspconfig'.tsserver.setup {on_attach = require'lsp'.common_on_attach}
require'lspconfig'.tsserver.setup {
on_attach = require'lsp'.tsserver_on_attach,
-- This makes sure tsserver is not used for formatting (I prefer prettier)
-- on_attach = require'lsp'.common_on_attach,
settings = {documentFormatting = false}
}