Fixed latex invalid abbreviations
This commit is contained in:
parent
a6fb4ffbb2
commit
c330e2819d
3 changed files with 6 additions and 7 deletions
dotfiles/neovim/lua/my
|
@ -2,7 +2,7 @@ local M = {}
|
|||
|
||||
function M.localAbbr(lhs, rhs)
|
||||
-- Create abbreviation
|
||||
vim.cmd(":iabbrev <buffer>" .. lhs .. " " .. rhs)
|
||||
vim.cmd(":iabbrev <buffer> " .. lhs .. " " .. rhs)
|
||||
end
|
||||
|
||||
function M.manyLocalAbbr(abbreviations)
|
||||
|
|
|
@ -7,6 +7,7 @@ function M.setup()
|
|||
"elixir", "fish", "html", "json", "latex", "python", "rust", "scss",
|
||||
"toml", "tsx", "vim", "yaml", "nix", "kotlin"
|
||||
},
|
||||
disable = { "tex", "latex" },
|
||||
sync_install = false,
|
||||
indent = { enable = true },
|
||||
highlight = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue