File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,28 @@ nvim_lsp.ts_ls.setup {
9898For Deno, the example above assumes a ` deno.json ` or ` deno.jsonc ` file exists at
9999the root of the project.
100100
101+ ##### Kickstart.nvim and Mason LSP
102+
103+ If you are using [ kickstart.nvim] ( https://github.com/nvim-lua/kickstart.nvim )
104+ add the above configuration like this inside the servers table in your
105+ configuration ` init.lua ` .
106+
107+ ``` lua
108+ local servers = {
109+ -- ... some configuration
110+ ts_ls = {
111+ root_dir = require (" lspconfig" ).util .root_pattern ({ " package.json" , " tsconfig.json" }),
112+ single_file_support = false ,
113+ settings = {},
114+ },
115+ denols = {
116+ root_dir = require (" lspconfig" ).util .root_pattern ({" deno.json" , " deno.jsonc" }),
117+ single_file_support = false ,
118+ settings = {},
119+ },
120+ }
121+ ```
122+
101123#### coc.nvim
102124
103125Once you have
You can’t perform that action at this time.
0 commit comments