Auto commit: 2024-11-08 23:35:02

This commit is contained in:
Daniel Fichtinger 2024-11-08 23:35:02 -05:00
commit 09b0647291
12 changed files with 288 additions and 9 deletions

View file

@ -3,6 +3,28 @@
-- Add any additional autocmds here
vim.opt_local.breakindent = true
vim.opt_local.wrap = true
<<<<<<< HEAD
=======
vim.api.nvim_create_autocmd("FileType", {
pattern = "python",
callback = function()
local cl = require("colorbuddy")
cl.Group.new("@variable", cl.colors.primary)
cl.Group.new("@string", cl.colors.secondary)
cl.Group.new("@keyword", cl.colors.complement)
cl.Group.new("@keyword.operator", cl.colors.complement)
cl.Group.new("@constant.builtin", cl.colors.complement)
end,
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "tex",
callback = function()
vim.cmd([[
syntax match texMathSymbol "\\oplus" conceal cchar=
]])
end,
})
>>>>>>> refs/remotes/origin/main
-- This autocommand fixes syntax highlighting for inline math in markdown files
-- Together with vimtex, it will apply very sexy good stuff here!
vim.api.nvim_create_autocmd("FileType", {