Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
15
.config/nvim/lsp/robotcode.lua
Normal file
15
.config/nvim/lsp/robotcode.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://robotcode.io
|
||||
---
|
||||
--- RobotCode - Language Server Protocol implementation for Robot Framework.
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'robotcode', 'language-server' },
|
||||
filetypes = { 'robot', 'resource' },
|
||||
root_markers = { 'robot.toml', 'pyproject.toml', 'Pipfile', '.git' },
|
||||
get_language_id = function(_, _)
|
||||
return 'robotframework'
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue