Don't auto-install treesitter parsers
Make neogit faster to get to by reducing keymaps
This commit is contained in:
parent
a1896925f7
commit
d309375d03
|
@ -5,12 +5,7 @@ return {
|
|||
"sindrets/diffview.nvim",
|
||||
},
|
||||
cmd = "Neogit",
|
||||
init = function()
|
||||
vim.keymap.set("n", "<leader>gg", "<cmd>Neogit<CR>")
|
||||
vim.keymap.set("n", "<leader>cc", "<cmd>Neogit commit<CR>")
|
||||
vim.keymap.set("n", "<leader>gp", "<cmd>Neogit pull<CR>")
|
||||
vim.keymap.set("n", "<leader>gP", "<cmd>Neogit push<CR>")
|
||||
end,
|
||||
init = function() vim.keymap.set("n", "<leader>g", "<cmd>Neogit<CR>") end,
|
||||
config = true,
|
||||
opts = {
|
||||
disable_commit_confirmation = true,
|
||||
|
|
|
@ -17,8 +17,6 @@ return {
|
|||
require("nvim-treesitter.configs").setup(opts)
|
||||
end,
|
||||
opts = {
|
||||
ensure_installed = "all",
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = { "fortran" },
|
||||
|
|
Loading…
Reference in a new issue