feat: support latex in treesitter configurations
This commit is contained in:
+12
-9
@@ -237,6 +237,7 @@ M.general = {
|
|||||||
ft = {
|
ft = {
|
||||||
'help',
|
'help',
|
||||||
'dashboard',
|
'dashboard',
|
||||||
|
'snacks_dashboard',
|
||||||
'neorg',
|
'neorg',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -1838,6 +1839,7 @@ M.treesitter = {
|
|||||||
'jsdoc',
|
'jsdoc',
|
||||||
'json',
|
'json',
|
||||||
'jsonc',
|
'jsonc',
|
||||||
|
'latex',
|
||||||
'lua',
|
'lua',
|
||||||
'luadoc',
|
'luadoc',
|
||||||
'luap',
|
'luap',
|
||||||
@@ -1910,21 +1912,22 @@ M.zen = {
|
|||||||
wezterm = {
|
wezterm = {
|
||||||
enabled = require('data.func').is_wezterm(),
|
enabled = require('data.func').is_wezterm(),
|
||||||
-- can be either an absolute font size or the number of incremental steps
|
-- can be either an absolute font size or the number of incremental steps
|
||||||
font = '+1', -- (10% increase per step)
|
font = '+2', -- (10% increase per step)
|
||||||
},
|
},
|
||||||
neovide = {
|
neovide = {
|
||||||
enabled = require('data.func').is_neovide(),
|
enabled = require('data.func').is_neovide(),
|
||||||
-- Will multiply the current scale factor by this number
|
-- Will multiply the current scale factor by this number
|
||||||
scale = 1.2,
|
scale = 1.2,
|
||||||
-- disable the Neovide animations while in Zen mode
|
-- disable the Neovide animations while in Zen mode
|
||||||
disable_animations = {
|
disable_animations = false,
|
||||||
neovide_animation_length = 0,
|
-- disable_animations = {
|
||||||
neovide_cursor_animate_command_line = false,
|
-- neovide_animation_length = 0,
|
||||||
neovide_scroll_animation_length = 0,
|
-- neovide_cursor_animate_command_line = false,
|
||||||
neovide_position_animation_length = 0,
|
-- neovide_scroll_animation_length = 0,
|
||||||
neovide_cursor_animation_length = 0,
|
-- neovide_position_animation_length = 0,
|
||||||
neovide_cursor_vfx_mode = '',
|
-- neovide_cursor_animation_length = 0,
|
||||||
},
|
-- neovide_cursor_vfx_mode = '',
|
||||||
|
-- },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ return {
|
|||||||
library = {
|
library = {
|
||||||
{ path = 'luvit-meta/library', words = { 'vim%.uv' } },
|
{ path = 'luvit-meta/library', words = { 'vim%.uv' } },
|
||||||
{ path = 'LazyVim', words = { 'LazyVim' } },
|
{ path = 'LazyVim', words = { 'LazyVim' } },
|
||||||
|
{ path = 'snacks.nvim', words = { 'Snacks' } },
|
||||||
{ path = 'lazy.nvim', words = { 'LazyVim' } },
|
{ path = 'lazy.nvim', words = { 'LazyVim' } },
|
||||||
-- Load the wezterm types when the `wezterm` module is required
|
-- Load the wezterm types when the `wezterm` module is required
|
||||||
-- Needs `justinsgithub/wezterm-types` to be installed
|
-- Needs `justinsgithub/wezterm-types` to be installed
|
||||||
|
|||||||
Reference in New Issue
Block a user