config(nvim): disable more

main
sudo pacman -Syu 2024-04-30 14:36:23 +07:00
parent a458290e39
commit eb9bbb300a
2 changed files with 7 additions and 1 deletions

View File

@ -24,5 +24,5 @@ enter_accept = false
prefers_reduced_motion = true
[stats]
common_subcommands = ["brew", "cargo", "g", "git", "go"]
common_subcommands = ["brew", "cargo", "g", "git", "go", "nix-env"]
common_prefix = ["sudo"]

View File

@ -86,6 +86,12 @@ vim.keymap.set({ "n", "v" }, "<C-y>", "<Nop>")
vim.keymap.set({ "n", "v" }, "<C-u>", "<Nop>")
vim.keymap.set({ "n", "v" }, "<C-b>", "<Nop>")
-- Disable more
vim.g.loaded_python3_provider = 0
vim.g.loaded_ruby_provider = 0
vim.g.loaded_node_provider = 0
vim.g.loaded_perl_provider = 0
-- https://github.com/folke/lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then