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

@@ -1,7 +1,7 @@
return {
{
"stevearc/conform.nvim",
-- cond = require("config.util").is_not_vscode(),
cond = require("config.util").is_not_vscode(),
lazy = true,
event = { "BufWritePre" },
opts = {
@@ -31,9 +31,9 @@ return {
local disable_filetypes = { c = true, cpp = true }
local lsp_format_opt
if disable_filetypes[vim.bo[bufnr].filetype] then
lsp_format_opt = 'never'
lsp_format_opt = "never"
else
lsp_format_opt = 'fallback'
lsp_format_opt = "fallback"
end
return {
quiet = false,
@@ -60,6 +60,6 @@ return {
},
},
},
}
},
},
}