mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 01:26:46 +00:00
added ty support
This commit is contained in:
@@ -203,4 +203,5 @@ vim.lsp.enable {
|
|||||||
'yamlls',
|
'yamlls',
|
||||||
'astrols',
|
'astrols',
|
||||||
'bashls',
|
'bashls',
|
||||||
|
'ty',
|
||||||
}
|
}
|
||||||
|
|||||||
5
.config/nvim/lsp/ty.lua
Normal file
5
.config/nvim/lsp/ty.lua
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
cmd = { 'ty', 'server' },
|
||||||
|
filetypes = { 'python' },
|
||||||
|
root_dir = vim.fs.root(0, { '.git/', 'pyproject.toml' }),
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user