
This PR adds support for thriftls, the first line is because thrift is not among the neovim built-in file types. --------- Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
24 lines
405 B
Lua
24 lines
405 B
Lua
return {
|
|
recommended = {
|
|
ft = "thrift",
|
|
root = ".thrift",
|
|
},
|
|
{
|
|
"nvim-treesitter",
|
|
optional = true,
|
|
opts = function(_, opts)
|
|
opts.ensure_installed = opts.ensure_installed or {}
|
|
vim.list_extend(opts.ensure_installed, { "thrift" })
|
|
end,
|
|
},
|
|
{
|
|
"nvim-lspconfig",
|
|
optional = true,
|
|
opts = {
|
|
servers = {
|
|
thriftls = {},
|
|
},
|
|
},
|
|
},
|
|
}
|