feat(neovim): AI and other quality of life improvements

- fix: session, conform, vim-illuminate, todo-comments, nvim-navbuddy, lspconfig plugins NOT on vscode
- new: codeium, obsidian.nvim
- Add codeium autocomplete
- fix: todo-comments: Search in hidden files (dotfiles)
- fix: trouble: wasn't working earlier
- new: Switch buffer with <alt-1>..<alt-9>
- chore: Better keybindings
This commit is contained in:
Pratik Tripathy
2024-12-17 20:14:20 +05:30
parent 20b3597501
commit 26fe26a74b
11 changed files with 136 additions and 80 deletions

View File

@@ -108,24 +108,20 @@ return {
},
{
"folke/lazydev.nvim",
ft = "lua", -- only load on lua files
"epwalsh/obsidian.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
},
cond = require("config.util").is_not_vscode(),
ft = "markdown",
opts = {
library = {
-- See the configuration section for more details
-- Load luvit types when the `vim.uv` word is found
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
workspaces = {
{ name = "personal", path = "~/Code/Notes" },
},
completion = {
nvim_cmp = 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,
},
}