lots of macbook vim stuff
This commit is contained in:
parent
5b483a9db7
commit
feb59d91c5
20 changed files with 267 additions and 226 deletions
25
lua/plugins/lazydev.lua
Normal file
25
lua/plugins/lazydev.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
{
|
||||
'folke/lazydev.nvim',
|
||||
ft = 'lua',
|
||||
opts = {
|
||||
library = {
|
||||
vim.env.HOME .. '.local/share/nvim/lazy/luvit-meta/library/',
|
||||
-- You can also add plugins you always want to have loaded.
|
||||
-- Useful if the plugin has globals or types you want to use
|
||||
-- vim.env.LAZY .. "/LazyVim", -- see below
|
||||
},
|
||||
},
|
||||
},
|
||||
{ 'Bilal2453/luvit-meta', lazy = true },
|
||||
{
|
||||
'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,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue