Organize and commit nvim configuration improvements
**Configuration Enhancements:** - Enable Nerd Font support in init.lua - Enhanced LSP configuration with better clangd setup - Improved query driver paths and error handling - Added support for more filetypes (cmake, tex, etc.) **Plugin Management:** - Add GitHub Copilot integration - Remove experimental plugins (avante, completion, statusline, theme) - Reorganize plugin imports for better structure **Repository Maintenance:** - Update .gitignore for better artifact handling - Clean up unused plugin configurations - Establish clean baseline for future development Resolves #12
This commit is contained in:
parent
25cab9b193
commit
217e448188
9 changed files with 83 additions and 243 deletions
14
lua/custom/plugins/copilot.lua
Normal file
14
lua/custom/plugins/copilot.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
{
|
||||
'github/copilot.vim',
|
||||
event = 'VimEnter',
|
||||
config = function()
|
||||
-- Accept suggestion with Ctrl-y
|
||||
vim.keymap.set('i', '<C-y>', 'copilot#Accept("\\<CR>")', {
|
||||
expr = true,
|
||||
replace_keycodes = false
|
||||
})
|
||||
vim.g.copilot_no_tab_map = true
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue