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:
dlond 2025-08-20 15:20:01 +12:00 committed by Daniel Lond
parent 25cab9b193
commit 217e448188
9 changed files with 83 additions and 243 deletions

View file

@ -91,7 +91,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false
vim.g.have_nerd_font = true
-- [[ Setting options ]]
-- See `:help vim.o`
@ -631,19 +631,7 @@ require('lazy').setup({
-- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = {
clangd = {
cmd = {
'clangd',
'--background-index',
'--clang-tidy',
'--header-insertion=never',
'--query-driver=' .. vim.fn.exepath 'clang++',
'--resource-dir=' .. vim.fn.systemlist({ 'clang++', '--print-resource-dir' })[1],
},
filetypes = { 'c', 'cpp', 'objc', 'objcpp', 'cuda' },
root_dir = require('lspconfig.util').root_pattern '.git',
single_file_support = true,
},
-- clangd = {},
-- gopls = {},
-- pyright = {},
-- rust_analyzer = {},
@ -658,7 +646,7 @@ require('lazy').setup({
lua_ls = {
-- cmd = { ... },
-- filetypes = { ... },
filetypes = { 'lua', 'luau' },
-- capabilities = {},
settings = {
Lua = {