mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
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:
@@ -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 {
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user