forked from nvim-lua/kickstart.nvim
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
55 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
return { | ||
{ | ||
"folke/lazydev.nvim", | ||
ft = "lua", -- only load on lua files | ||
opts = { | ||
library = { | ||
-- See the configuration section for more details | ||
-- Load luvit types when the `vim.uv` word is found | ||
{ path = "luvit-meta/library", words = { "vim%.uv" } }, | ||
}, | ||
}, | ||
}, | ||
{ "Bilal2453/luvit-meta", lazy = true }, -- 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, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,10 @@ return { | |
"elixir", | ||
"bash", | ||
"c", | ||
"cpp", | ||
"go", | ||
"rust", | ||
"zig", | ||
"diff", | ||
"html", | ||
"lua", | ||
|