feat(nvim): add typst lsp
parent
579e711735
commit
7deef6eabd
|
@ -239,6 +239,8 @@ in
|
||||||
stylua
|
stylua
|
||||||
sumneko-lua-language-server
|
sumneko-lua-language-server
|
||||||
taplo
|
taplo
|
||||||
|
typst
|
||||||
|
typst-lsp
|
||||||
yamlfmt
|
yamlfmt
|
||||||
];
|
];
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
|
|
@ -234,6 +234,10 @@ with builtins;
|
||||||
cmd = [ "StartupTime" ];
|
cmd = [ "StartupTime" ];
|
||||||
conf = readFile ./vim-startuptime.lua;
|
conf = readFile ./vim-startuptime.lua;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
plugin = typst-vim;
|
||||||
|
ft = [ "typst" "typ" ];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
plugin = comment-nvim;
|
plugin = comment-nvim;
|
||||||
event = [ "BufReadPost" "BufNewFile" ];
|
event = [ "BufReadPost" "BufNewFile" ];
|
||||||
|
|
|
@ -127,6 +127,7 @@ local servers = {
|
||||||
"pylsp",
|
"pylsp",
|
||||||
"ruff_lsp",
|
"ruff_lsp",
|
||||||
"rust_analyzer",
|
"rust_analyzer",
|
||||||
|
"typst_lsp",
|
||||||
}
|
}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig_setup(lsp, {})
|
lspconfig_setup(lsp, {})
|
||||||
|
|
Loading…
Reference in New Issue