1
Fork 0

Fixed latex invalid abbreviations

This commit is contained in:
Matei Adriel 2022-10-13 01:33:24 +02:00
parent a6fb4ffbb2
commit c330e2819d
3 changed files with 6 additions and 7 deletions
dotfiles/neovim/lua/my

View file

@ -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)

View file

@ -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 = {