28 lines
840 B
Lua
28 lines
840 B
Lua
return {
|
|
{ "edKotinsky/Arduino.nvim", ft = "arduino", config = true }, -- statusline
|
|
{ "aliou/bats.vim", ft = { "bash", "sh", "zsh", "bats" } }, -- enable syntax for bats shell-code testing library
|
|
{
|
|
"folke/lazydev.nvim",
|
|
ft = "lua",
|
|
opts = {
|
|
library = {
|
|
-- Load luvit types when the `vim.uv` word is found
|
|
{ path = "luvit-meta/library", words = { "vim%.uv" } },
|
|
},
|
|
},
|
|
dependencies = {
|
|
{ "Bilal2453/luvit-meta" }, -- optional `vim.uv` typings
|
|
{ -- optional completion source for require statements and module annotations
|
|
"hrsh7th/nvim-cmp",
|
|
opts = function(_, opts)
|
|
opts.sources = opts.sources or {}
|
|
table.insert(opts.sources, {
|
|
name = "lazydev",
|
|
group_index = 0, -- set group index to 0 to skip loading LuaLS completions
|
|
})
|
|
end,
|
|
optional = true,
|
|
},
|
|
},
|
|
},
|
|
}
|