Skip to content

Commit

Permalink
config(lvim): Enable tsserver as LSP
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarKirov committed Dec 24, 2023
1 parent 755eb60 commit b0becc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .config/lvim/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ lvim.builtin.treesitter.auto_install = true
-- vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "pyright" })
-- local opts = {} -- check the lspconfig documentation for a list of all possible options
-- require("lvim.lsp.manager").setup("pyright", opts)
local lspconfig = require('lspconfig')
lspconfig.tsserver.setup {}

-- ---remove a server from the skipped list, e.g. eslint, or emmet_ls. IMPORTANT: Requires `:LvimCacheReset` to take effect
-- ---`:LvimInfo` lists which server(s) are skipped for the current filetype
Expand Down

0 comments on commit b0becc7

Please sign in to comment.