diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index a5e6e2d8..03b3be1a 100755 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -1,7 +1,7 @@ ---@diagnostic disable-next-line missing-fields require 'nvim-treesitter.configs'.setup { ensure_installed = { 'bash', 'dockerfile', 'go', 'html', 'javascript', 'lua', 'markdown', 'markdown_inline', - 'python', 'regex', 'ruby', 'rust', 'sql', 'typescript', 'vim', 'yaml' }, + 'perl', 'python', 'regex', 'ruby', 'rust', 'sql', 'typescript', 'vim', 'yaml' }, -- ensure_installed = 'all', highlight = { enable = true, -- false will disable the whole extension @@ -14,17 +14,6 @@ require 'nvim-treesitter.configs'.setup { }, } -local parser_config = require('nvim-treesitter.parsers').get_parser_configs() -parser_config.perl = { - install_info = { - url = 'https://github.com/tree-sitter-perl/tree-sitter-perl', - revision = 'release', - files = { 'src/parser.c', 'src/scanner.c' }, - }, - maintainers = { '@leonerd' }, - filetype = 'perl', -} - vim.opt.termguicolors = true vim.opt.mouse = "v"