mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 15:19:26 +02:00
prettier and eslint configured
This commit is contained in:
parent
b3f2348d97
commit
7eea23bb6c
9 changed files with 123 additions and 93 deletions
|
@ -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}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue