mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
add a couple more treesitter langs
This commit is contained in:
41
init.lua
41
init.lua
@@ -238,7 +238,46 @@ vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
-- See `:help nvim-treesitter`
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Add languages to be installed here that you want installed for treesitter
|
||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },
|
||||
ensure_installed = {
|
||||
'bash',
|
||||
'c',
|
||||
'cpp',
|
||||
'dockerfile',
|
||||
'diff',
|
||||
'git_config',
|
||||
'git_rebase',
|
||||
'gitattributes',
|
||||
'gitcommit',
|
||||
'gitignore',
|
||||
'go',
|
||||
'html',
|
||||
'http',
|
||||
'java',
|
||||
'javascript',
|
||||
'jq',
|
||||
'jsdoc',
|
||||
'json',
|
||||
'json5',
|
||||
'latex',
|
||||
'lua',
|
||||
'luadoc',
|
||||
'make',
|
||||
'markdown',
|
||||
'markdown_inline',
|
||||
'mermaid',
|
||||
'norg',
|
||||
'norg_meta',
|
||||
'org',
|
||||
'python',
|
||||
'regex',
|
||||
'rust',
|
||||
'tsx',
|
||||
'typescript',
|
||||
'sql',
|
||||
'vimdoc',
|
||||
'vim',
|
||||
'yaml',
|
||||
},
|
||||
|
||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||
auto_install = false,
|
||||
|
||||
Reference in New Issue
Block a user