nvim: add typescript support

This commit is contained in:
dogeystamp 2023-05-07 10:36:01 -04:00
parent f9d5bc7764
commit 32727866bd
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@ gimp
blender blender
audacity audacity
pulsemixer pulsemixer
ffmppeg ffmpeg
mpv mpv
netcat netcat
nmap nmap
@ -31,6 +31,8 @@ scrot
pynvim pynvim
python-lsp-server python-lsp-server
python-lsp-black python-lsp-black
typescript
typescript-language-server
bear bear
xsel xsel
xwallpaper xwallpaper

View File

@ -1,6 +1,6 @@
-- Syntax highlighting -- Syntax highlighting
require'nvim-treesitter.configs'.setup { require'nvim-treesitter.configs'.setup {
ensure_installed = { "c", "cpp", "javascript", "python", "vim", "latex", "fish", "bash" }, ensure_installed = { "c", "cpp", "javascript", "typescript", "python", "vim", "fish", "bash" },
sync_install = false, sync_install = false,
auto_install = false, auto_install = false,
highlight = { highlight = {
@ -65,6 +65,7 @@ local servers = {
} }
}, },
clangd = {}, clangd = {},
tsserver = {},
} }
local nvim_lsp = require('lspconfig') local nvim_lsp = require('lspconfig')