nvim: add typescript support
This commit is contained in:
parent
f9d5bc7764
commit
32727866bd
4
programs
4
programs
@ -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
|
||||||
|
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user