✨ feat: add configurations for typescript and python language servers
This commit is contained in:
3 files changed
+29
-17
No files matched your search
@@ -0,0 +1,17 @@
|
||||
return {
|
||||
cmd = { 'pyright-langserver', '--stdio' },
|
||||
filetypes = { 'py', 'python' },
|
||||
root_markers = { 'pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt' },
|
||||
settings = {
|
||||
python = {
|
||||
analysis = {
|
||||
-- autoSearchPaths = true,
|
||||
diagnosticMode = 'openFilesOnly',
|
||||
-- useLibraryCodeForTypes = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
init_options = {
|
||||
hostInfo = 'neovim',
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user