Don't auto-install treesitter parsers

Make neogit faster to get to by reducing keymaps
This commit is contained in:
Evie Litherland-Smith 2023-05-18 09:15:39 +01:00
parent a1896925f7
commit d309375d03
2 changed files with 1 additions and 8 deletions

View file

@ -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,

View file

@ -17,8 +17,6 @@ return {
require("nvim-treesitter.configs").setup(opts)
end,
opts = {
ensure_installed = "all",
auto_install = true,
highlight = {
enable = true,
disable = { "fortran" },