mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-27 03:47:37 +00:00
fix: deno root marker containing tsconfig.json
This commit is contained in:
parent
39416a521d
commit
03b01701c3
3 changed files with 2 additions and 3 deletions
|
|
@ -174,7 +174,6 @@ in {
|
|||
vim.lsp = {
|
||||
presets = genAttrs cfg.lsp.servers (_: {enable = true;});
|
||||
servers = genAttrs cfg.lsp.servers (_: {
|
||||
root_markers = ["tsconfig.json"];
|
||||
filetypes = [
|
||||
"typescript"
|
||||
# TODO: move to a React module
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ in {
|
|||
vim.lsp.servers.typescript-go = {
|
||||
enable = true;
|
||||
cmd = [(getExe pkgs.typescript-go) "--lsp" "--stdio"];
|
||||
root_markers = [".git" "package.json"];
|
||||
root_markers = [".git" "tsconfig.json" "package.json"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ in {
|
|||
vim.lsp.servers.typescript-language-server = {
|
||||
enable = true;
|
||||
cmd = [(getExe pkgs.typescript-language-server) "--stdio"];
|
||||
root_markers = [".git" "package.json"];
|
||||
root_markers = [".git" "tsconfig.json" "package.json"];
|
||||
init_options = {hostInfo = "neovim";};
|
||||
handlers = {
|
||||
# handle rename request for certain code actions like extracting functions / types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue