Update latest version plugins + add linter

This commit is contained in:
francois
2026-01-03 19:01:43 +01:00
parent cf21badf25
commit ba36206913
3 changed files with 8 additions and 1 deletions

View File

@@ -4,6 +4,11 @@ local function map(m, k, v)
vim.keymap.set(m, k, v, { noremap = true, silent = true })
end
-- set leader
map("", "<Space>", "<Nop>")
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- buffers
map("n", "<S-l>", ":bnext<CR>")
map("n", "<S-h>", ":bprevious<CR>")

View File

@@ -1,3 +1,4 @@
--[[
require("nvim-treesitter.configs").setup {
ensure_installed = { "bash", "c", "css", "cpp", "go", "html", "java", "javascript", "json", "lua", "markdown", "markdown_inline", "python", "rust", "tsx", "typescript", "yaml" },
highlight = {
@@ -17,4 +18,4 @@ require("nvim-treesitter.configs").setup {
node_decremental = "grm",
},
},
}
}]]