mirror of
https://github.com/neovim/nvim-lspconfig
synced 2024-09-16 14:24:07 +02:00
fix: tea-leaves was renamed and replaced teal-language-server (#3285)
This commit is contained in:
parent
8a3610d29d
commit
a05f8d1e2c
2 changed files with 8 additions and 37 deletions
|
@ -1,31 +0,0 @@
|
|||
local util = require 'lspconfig.util'
|
||||
|
||||
return {
|
||||
default_config = {
|
||||
cmd = {
|
||||
'tea-leaves',
|
||||
},
|
||||
filetypes = {
|
||||
'teal',
|
||||
},
|
||||
root_dir = util.root_pattern 'tlconfig.lua',
|
||||
},
|
||||
docs = {
|
||||
description = [[
|
||||
https://github.com/svermeulen/tea-leaves
|
||||
|
||||
Install with:
|
||||
```
|
||||
luarocks install tea-leaves
|
||||
```
|
||||
|
||||
Optional Command Args:
|
||||
* "--log-mode=by_date" - Enable logging in $HOME/.cache/tea-leaves. Log name will be date + pid of process
|
||||
* "--log-mode=by_proj_path" - Enable logging in $HOME/.cache/tea-leaves. Log name will be project path + pid of process
|
||||
* "--verbose=true" - Increases log level. Does nothing unless log-mode is set
|
||||
]],
|
||||
default_config = {
|
||||
root_dir = [[root_pattern("tlconfig.lua")]],
|
||||
},
|
||||
},
|
||||
}
|
|
@ -4,14 +4,11 @@ return {
|
|||
default_config = {
|
||||
cmd = {
|
||||
'teal-language-server',
|
||||
-- use this to enable logging in /tmp/teal-language-server.log
|
||||
-- "logging=on",
|
||||
},
|
||||
filetypes = {
|
||||
'teal',
|
||||
-- "lua", -- Also works for lua, but you may get type errors that cannot be resolved within lua itself
|
||||
},
|
||||
root_dir = util.root_pattern('tlconfig.lua', '.git'),
|
||||
root_dir = util.root_pattern 'tlconfig.lua',
|
||||
},
|
||||
docs = {
|
||||
description = [[
|
||||
|
@ -19,11 +16,16 @@ https://github.com/teal-language/teal-language-server
|
|||
|
||||
Install with:
|
||||
```
|
||||
luarocks install --dev teal-language-server
|
||||
luarocks install teal-language-server
|
||||
```
|
||||
|
||||
Optional Command Args:
|
||||
* "--log-mode=by_date" - Enable logging in $HOME/.cache/teal-language-server. Log name will be date + pid of process
|
||||
* "--log-mode=by_proj_path" - Enable logging in $HOME/.cache/teal-language-server. Log name will be project path + pid of process
|
||||
* "--verbose=true" - Increases log level. Does nothing unless log-mode is set
|
||||
]],
|
||||
default_config = {
|
||||
root_dir = [[root_pattern("tlconfig.lua", ".git")]],
|
||||
root_dir = [[root_pattern("tlconfig.lua")]],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue