Compare commits

...

2 commits

Author SHA1 Message Date
58f3d1d4c6 set wrap for some fts 2024-07-09 01:25:42 +02:00
7698683a7b add IDEA todo keyword 2024-07-09 01:25:30 +02:00
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,19 @@
local augroup = vim.api.nvim_create_augroup('plex_generic_autocmds', {})
-- enable text wrapping for text filetypes
vim.api.nvim_create_autocmd('FileType', {
group = augroup,
pattern = {
'tex',
'text',
'markdown',
'help',
},
callback = function()
vim.opt_local.wrap = true
end,
})
-- always use the tex filetype for latex things, as those are most supported by
-- latex language servers.
vim.api.nvim_create_autocmd('FileType', {

View file

@ -338,7 +338,7 @@ return {
SECURITY = { icon = '󰒃 ', color = 'security' },
WARN = { icon = '', color = 'warning', alt = { 'WARNING', 'XXX' } },
PERF = { icon = '', color = 'perf', alt = { 'OPTIM', 'PERFORMANCE', 'OPTIMIZE' } },
NOTE = { icon = '', color = 'hint', alt = { 'INFO' } },
NOTE = { icon = '', color = 'hint', alt = { 'INFO', 'IDEA' } },
TEST = { icon = '', color = 'test', alt = { 'TESTING', 'PASSED', 'FAILED' } },
},
colors = {