.dotfiles/nvim/lua/pluginoptions.lua

44 lines
971 B
Lua
Raw Permalink Normal View History

2023-06-16 01:49:24 +02:00
-- SETUP FO VARIOUS PLUGIN OPTIONS
2022-04-17 21:31:47 +02:00
vim.cmd [[
augroup VimDiff
autocmd!
autocmd VimEnter,FilterWritePre * if &diff | GitGutterDisable | endif
augroup END
]]
-- VIMTEX SETUP
-- =========================
vim.api.nvim_set_var('vimtex_compiler_engine', 'lualatex')
vim.api.nvim_set_var('vimtex_quickfix_mode', 0)
vim.api.nvim_set_var('tex_flavor', 'latex')
vim.api.nvim_set_var('vimtex_compiler_method', 'latexmk')
vim.api.nvim_set_var('vimtex_compiler_latexmk', {
backend = 'nvim',
background = 1,
build_dir = '',
callback = 1,
continuous = 1,
executable = 'latexmk',
hooks = {},
options = {'-pdflatex=lualatex', '-file-line-error', '-synctex=1', '-interaction=nonstopmode'}
})
-- TMUX SETUP
-- =========================
vim.api.nvim_set_var('tmuxcomplete#trigger', '')
-- COLORS.LUA SETUP
-- =========================
require('colorizer').setup()
-- nvim surround
2022-09-12 20:04:17 +02:00
require("nvim-surround").setup({
surrounds = {
["*"] = {
add = { "*", "*" },
},
}
})