big changes

This commit is contained in:
Alex Muszynski
2025-09-16 11:30:40 -04:00
parent 7ba677f20a
commit cf8447c347
10 changed files with 44 additions and 68 deletions
-7
View File
@@ -1,7 +0,0 @@
return {
'ray-x/telescope-ast-grep.nvim',
dependencies = {
{ 'nvim-lua/plenary.nvim' },
{ 'nvim-telescope/telescope.nvim' },
},
}
+1 -1
View File
@@ -17,7 +17,7 @@ return { -- Autoformat
-- Disable "format_on_save lsp_fallback" for languages that don't
-- have a well standardized coding style. You can add additional
-- languages here or re-enable it for the disabled ones.
local disable_filetypes = { c = true, cpp = true, typescript = true }
local disable_filetypes = { cpp = true, typescript = true }
return {
timeout_ms = 500,
lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype],
-22
View File
@@ -1,22 +0,0 @@
return {
'hat0uma/csvview.nvim',
---@module "csvview"
---@type CsvView.Options
opts = {
parser = { comments = { '#', '//' } },
keymaps = {
-- Text objects for selecting fields
textobject_field_inner = { 'if', mode = { 'o', 'x' } },
textobject_field_outer = { 'af', mode = { 'o', 'x' } },
-- Excel-like navigation:
-- Use <Tab> and <S-Tab> to move horizontally between fields.
-- Use <Enter> and <S-Enter> to move vertically between rows and place the cursor at the end of the field.
-- Note: In terminals, you may need to enable CSI-u mode to use <S-Tab> and <S-Enter>.
jump_next_field_end = { '<Tab>', mode = { 'n', 'v' } },
jump_prev_field_end = { '<S-Tab>', mode = { 'n', 'v' } },
jump_next_row = { '<Enter>', mode = { 'n', 'v' } },
jump_prev_row = { '<S-Enter>', mode = { 'n', 'v' } },
},
},
cmd = { 'CsvViewEnable', 'CsvViewDisable', 'CsvViewToggle' },
}
+1 -6
View File
@@ -2,9 +2,4 @@
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {
{
'OXY2DEV/markview.nvim',
lazy = false,
},
}
return {}
+34 -2
View File
@@ -154,10 +154,41 @@ return { -- LSP Configuration & Plugins
-- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features.
-- - 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 lspconfig = require 'lspconfig'
local root_patterns = { 'CMakeLists.txt', '.git' }
local servers = {
clangd = {},
clangd = {
-- tell clangd where to find compile_commands.json
cmd = {
'clangd',
'--background-index',
'--clang-tidy',
'--compile-commands-dir=build', -- <-- point at the build folder
},
root_dir = lspconfig.util.root_pattern(unpack(root_patterns)),
-- clangd auto-detects filetypes c/cpp/etc.
},
arduino_language_server = {
-- point at the binary (Mason puts it on your PATH)
cmd = {
'arduino-language-server',
'-cli',
'arduino-cli',
'-cli-config',
os.getenv 'HOME' .. '/.arduino15/arduino-cli.yaml',
'-fqbn',
'arduino:avr:uno', -- <- replace with your boards FQBN
'--verbose',
},
filetypes = { 'arduino', 'ino', 'pde' },
root_dir = function(fname)
return lspconfig.util.root_pattern('*.ino', '.git')(fname) or vim.loop.cwd()
end,
settings = {}, -- no extra settings for now
},
gopls = {},
pyrefly = {},
--pyright = {},
rust_analyzer = {},
markdownlint = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@@ -207,7 +238,8 @@ return { -- LSP Configuration & Plugins
'typescript-language-server',
-- Python
'ruff',
'pyright',
'pyrefly',
--'pyright',
-- C
'clangd',
-- markdown
+7
View File
@@ -0,0 +1,7 @@
return {
{
'OXY2DEV/markview.nvim',
lazy = false,
priority = 49,
},
}
-4
View File
@@ -1,4 +0,0 @@
return {
'danymat/neogen',
config = true,
}
-7
View File
@@ -1,7 +0,0 @@
return {
-- 'rcarriga/nvim-notify',
-- event = 'VeryLazy',
-- opts = {
-- background_colour = '#000000',
-- },
}
-19
View File
@@ -1,19 +0,0 @@
return {
'cameron-wags/rainbow_csv.nvim',
config = true,
ft = {
'csv',
'tsv',
'csv_semicolon',
'csv_whitespace',
'csv_pipe',
'rfc_csv',
'rfc_semicolon',
},
cmd = {
'RainbowDelim',
'RainbowDelimSimple',
'RainbowDelimQuoted',
'RainbowMultiDelim',
},
}
+1
View File
@@ -1,5 +1,6 @@
return { -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter',
dependencies = { 'OXY2DEV/markview.nvim' },
build = ':TSUpdate',
opts = {
ensure_installed = {