1
0

feat: added browse files

feat: apparently I added c at some point
This commit is contained in:
2025-07-23 21:36:24 +01:00
parent 54b56d22be
commit 85f8a9695a
4 changed files with 8 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
local M = {} local M = {}
M.base46 = { M.base46 = {
theme = "chadracula-evondev", theme = "everforest",
-- hl_override = { -- hl_override = {
-- Comment = { italic = true }, -- Comment = { italic = true },
@@ -40,6 +40,7 @@ M.mason = {
"typescript-language-server", "typescript-language-server",
"sonarlint-language-server", "sonarlint-language-server",
"lua-language-server", "lua-language-server",
"clangd",
}, },
} }

View File

@@ -77,6 +77,10 @@ lspconfig.golangci_lint_ls.setup({
filetypes = { "go", "gomod" }, filetypes = { "go", "gomod" },
}) })
lspconfig.clangd.setup({
filetypes = { "c" },
})
require("sonarlint").setup({ require("sonarlint").setup({
server = { server = {
cmd = { cmd = {

View File

@@ -2,8 +2,6 @@ require("nvchad.mappings")
local map = vim.keymap.set local map = vim.keymap.set
local M = {}
map("n", "]g", function() map("n", "]g", function()
vim.diagnostic.jump({ count = 1, float = true }) vim.diagnostic.jump({ count = 1, float = true })
end) end)
@@ -14,3 +12,5 @@ end)
map("n", "<leader>ww", function() map("n", "<leader>ww", function()
vim.diagnostic.open_float() vim.diagnostic.open_float()
end) end)
map("n", "<leader>of", ":browse oldfiles\n")

View File

@@ -4,7 +4,6 @@ return {
event = "BufWritePre", -- uncomment for format on save event = "BufWritePre", -- uncomment for format on save
opts = require("configs.conform"), opts = require("configs.conform"),
}, },
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
config = function() config = function()