gitsigns keybinds, removed filetype plugins that set tab width, python
regex injections
This commit is contained in:
+2
-4
@@ -5,18 +5,16 @@ function M.map(mode, lhs, rhs, opts)
|
||||
if opts then
|
||||
default_opts = vim.tbl_extend("force", default_opts, opts)
|
||||
end
|
||||
vim.api.nvim_set_keymap(mode, lhs, rhs, default_opts)
|
||||
--vim.api.nvim_set_keymap(mode, lhs, rhs, default_opts)
|
||||
vim.keymap.set(mode, lhs, rhs, default_opts)
|
||||
end
|
||||
|
||||
function M.lsp_config_defaults()
|
||||
return {
|
||||
root_dir = require("lspconfig.util").root_pattern(
|
||||
".ccls",
|
||||
"manage.py",
|
||||
"pyproject.toml",
|
||||
"package.json",
|
||||
".null-ls-root",
|
||||
"Makefile",
|
||||
".git"
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user