mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
chezmoi: reorganise repo
This commit is contained in:
parent
b391e03c87
commit
67a78879db
278 changed files with 102 additions and 182 deletions
|
|
@ -1,21 +0,0 @@
|
|||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
local npairs = require("nvim-autopairs")
|
||||
local Rule = require("nvim-autopairs.rule")
|
||||
|
||||
npairs.setup()
|
||||
npairs.add_rule(Rule("$", "$", "markdown"))
|
||||
npairs.add_rule(Rule("\\(", "\\)", "tex"))
|
||||
npairs.add_rule(Rule("\\[", "\\]", "tex"))
|
||||
|
||||
npairs.add_rules({
|
||||
Rule("%(", "%)", "cmd"):with_pair(function(opts)
|
||||
if vim.fn.getcmdtype() == ":" then
|
||||
return true
|
||||
end
|
||||
end),
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue