mirror of
https://github.com/don-philipe/dotfiles.git
synced 2025-11-08 22:57:03 +01:00
Add TypeScript LSP
This commit is contained in:
@@ -11,6 +11,8 @@ lspconfig_defaults.capabilities = vim.tbl_deep_extend(
|
|||||||
require('cmp_nvim_lsp').default_capabilities()
|
require('cmp_nvim_lsp').default_capabilities()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
require'lspconfig'.ts_ls.setup{}
|
||||||
|
|
||||||
-- This is where you enable features that only work
|
-- This is where you enable features that only work
|
||||||
-- if there is a language server active in the file
|
-- if there is a language server active in the file
|
||||||
vim.api.nvim_create_autocmd('LspAttach', {
|
vim.api.nvim_create_autocmd('LspAttach', {
|
||||||
|
|||||||
Reference in New Issue
Block a user