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",
|
"sindrets/diffview.nvim",
|
||||||
},
|
},
|
||||||
cmd = "Neogit",
|
cmd = "Neogit",
|
||||||
init = function()
|
init = function() vim.keymap.set("n", "<leader>g", "<cmd>Neogit<CR>") end,
|
||||||
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,
|
|
||||||
config = true,
|
config = true,
|
||||||
opts = {
|
opts = {
|
||||||
disable_commit_confirmation = true,
|
disable_commit_confirmation = true,
|
||||||
|
|
|
@ -17,8 +17,6 @@ return {
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
end,
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = "all",
|
|
||||||
auto_install = true,
|
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
disable = { "fortran" },
|
disable = { "fortran" },
|
||||||
|
|
Loading…
Reference in a new issue