Updated config
This commit is contained in:
parent
eca02857ec
commit
7d5a2940ef
17 changed files with 100 additions and 85 deletions
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-telescope/telescope-project.nvim",
|
||||
|
@ -42,6 +43,7 @@ return {
|
|||
})
|
||||
|
||||
require("telescope").load_extension("project")
|
||||
require("telescope").load_extension("notify")
|
||||
-- require("telescope").load_extension("ui-select")
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
-- ToggleWord
|
||||
vim.api.nvim_create_user_command("ToggleWord", function()
|
||||
local inverse = {
|
||||
["horizontal"] = "vertical",
|
||||
["on"] = "off",
|
||||
["true"] = "false",
|
||||
["True"] = "False",
|
||||
["TRUE"] = "FALSE",
|
||||
["yes"] = "no",
|
||||
["Yes"] = "No",
|
||||
["YES"] = "NO",
|
||||
["1"] = "0",
|
||||
|
@ -15,7 +18,7 @@ vim.api.nvim_create_user_command("ToggleWord", function()
|
|||
['""'] = "''",
|
||||
["+"] = "-",
|
||||
["==="] = "!==",
|
||||
["=="] = "!="
|
||||
["=="] = "!=",
|
||||
}
|
||||
|
||||
vim.tbl_add_reverse_lookup(inverse)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue