Skip to content

Commit 0709895

Browse files
committed
Tserver setting to prefer type imports
1 parent 500adad commit 0709895

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/core/setup/language-servers.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ local servers = {
1818
typescript = {
1919
settings = {
2020
preferences = {
21-
importModuleSpecifierPreference = "non-relative"
21+
importModuleSpecifierPreference = "non-relative",
22+
preferTypeOnlyAutoImports = true,
2223
}
2324
}
2425
},

0 commit comments

Comments
 (0)