Compare commits
2 commits
86b1669242
...
58f3d1d4c6
Author | SHA1 | Date | |
---|---|---|---|
58f3d1d4c6 | |||
7698683a7b |
2 changed files with 15 additions and 1 deletions
|
@ -1,5 +1,19 @@
|
||||||
local augroup = vim.api.nvim_create_augroup('plex_generic_autocmds', {})
|
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
|
-- always use the tex filetype for latex things, as those are most supported by
|
||||||
-- latex language servers.
|
-- latex language servers.
|
||||||
vim.api.nvim_create_autocmd('FileType', {
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
|
|
|
@ -338,7 +338,7 @@ return {
|
||||||
SECURITY = { icon = ' ', color = 'security' },
|
SECURITY = { icon = ' ', color = 'security' },
|
||||||
WARN = { icon = ' ', color = 'warning', alt = { 'WARNING', 'XXX' } },
|
WARN = { icon = ' ', color = 'warning', alt = { 'WARNING', 'XXX' } },
|
||||||
PERF = { icon = ' ', color = 'perf', alt = { 'OPTIM', 'PERFORMANCE', 'OPTIMIZE' } },
|
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' } },
|
TEST = { icon = '⏲ ', color = 'test', alt = { 'TESTING', 'PASSED', 'FAILED' } },
|
||||||
},
|
},
|
||||||
colors = {
|
colors = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue