38 lines
929 B
Lua
38 lines
929 B
Lua
return {
|
|
parser_install_dir = require('user.config.vars').ts_parsers_path,
|
|
ensure_installed = 'all',
|
|
sync_install = false,
|
|
auto_install = false,
|
|
highlight = {
|
|
enable = true,
|
|
additional_vim_regex_highlighting = { 'org' },
|
|
},
|
|
incremental_selection = {
|
|
enable = true,
|
|
keymaps = {
|
|
init_selection = '<C-Space>',
|
|
node_incremental = '<C-Space>',
|
|
scope_incremental = '<nop>',
|
|
node_decremental = '<BS>',
|
|
},
|
|
},
|
|
indent = { enable = false },
|
|
autotag = {
|
|
enable = true,
|
|
filetypes = {
|
|
'html',
|
|
'javascript',
|
|
'javascriptreact',
|
|
'typescript',
|
|
'typescriptreact',
|
|
'svelte',
|
|
'vue',
|
|
},
|
|
},
|
|
matchup = {
|
|
enable = true,
|
|
disable_virtual_text = true,
|
|
include_match_words = true,
|
|
},
|
|
}
|