tangled
alpha
login
or
join now
althaea.zone
/
candy
0
fork
atom
neovim
0
fork
atom
overview
issues
pulls
pipelines
move typescript config to typescript.lua
marshmallow.tngl.sh
9 months ago
e62349cf
7df27ee4
+19
-20
2 changed files
expand all
collapse all
unified
split
candy
lsp
typescript.lua
lua
marshmallow
lsp.lua
+19
candy/lsp/typescript.lua
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
require("typescript-tools").setup({
2
+
cmd = { "typescript-language-server", "--stdio" },
3
+
settings = {
4
+
-- https://github.com/pmizio/typescript-tools.nvim/blob/master/lua/typescript-tools/protocol/text_document/did_open.lua#L8
5
+
tsserver_file_preferences = {
6
+
includeInlayParameterNameHints = "all",
7
+
includeInlayFunctionParameterTypeHints = true,
8
+
includeInlayEnumMemberValueHints = true,
9
+
10
+
includeCompletionsForModuleExports = true,
11
+
12
+
quotePreference = "auto",
13
+
},
14
+
tsserver_format_options = {
15
+
allowIncompleteCompletions = false,
16
+
allowRenameOfImportPath = false,
17
+
},
18
+
},
19
+
})
-20
candy/lua/marshmallow/lsp.lua
···
13
end,
14
})
15
16
-
require("typescript-tools").setup({
17
-
cmd = { "typescript-language-server", "--stdio" },
18
-
settings = {
19
-
-- https://github.com/pmizio/typescript-tools.nvim/blob/master/lua/typescript-tools/protocol/text_document/did_open.lua#L8
20
-
tsserver_file_preferences = {
21
-
includeInlayParameterNameHints = "all",
22
-
includeInlayFunctionParameterTypeHints = true,
23
-
includeInlayEnumMemberValueHints = true,
24
-
25
-
includeCompletionsForModuleExports = true,
26
-
27
-
quotePreference = "auto",
28
-
},
29
-
tsserver_format_options = {
30
-
allowIncompleteCompletions = false,
31
-
allowRenameOfImportPath = false,
32
-
},
33
-
},
34
-
})
35
-
36
local lsp_configs = {}
37
38
for _, f in pairs(vim.api.nvim_get_runtime_file("lsp/*.lua", true)) do
···
13
end,
14
})
15
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
local lsp_configs = {}
17
18
for _, f in pairs(vim.api.nvim_get_runtime_file("lsp/*.lua", true)) do