mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-24 20:55:00 +02:00
easy install LSP
This commit is contained in:
parent
353a643170
commit
7367ca68b7
7 changed files with 14 additions and 26 deletions
|
@ -8,6 +8,7 @@
|
|||
-- require'illuminate'.on_attach(client)
|
||||
-- end
|
||||
require'lspconfig'.tsserver.setup {
|
||||
cmd = {DATA_PATH .. "/lspinstall/typescript/node_modules/.bin/typescript-language-server", "--stdio"},
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue