.config/nvim/lua/plugins/filetype.lua

Thu, 02 Mar 2023 21:15:29 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 02 Mar 2023 21:15:29 -0600
changeset 1058
c8754b0414b9
parent 1057
3c42989e695b
child 1060
c20cb89a2ee9
permissions
-rw-r--r--

add bundled languages to avoid errors

local g = vim.g

-- >> Perl
g.perl_include_pod = 1
g.perl_sub_signatures = 1
g.perl_sync_dist = 300
g.perl_compiler_force_warnings = 0

return {
  {
    'nvim-treesitter/nvim-treesitter',
    build = function()
      require('nvim-treesitter.install').update({ with_sync = true })
    end,
    config = function()
      require('nvim-treesitter.configs').setup({
        highlight = { enable = true },
        indent = { enable = true },
        ensure_installed = {
          'c',
          'eex',
          'elixir',
          'heex',
          'help',
          'lua',
          'surface',
          'vim',
        },
      })
    end,
  },
  'Shougo/vinarise.vim',
  'asciidoc/vim-asciidoc',
  {'vim-perl/vim-perl', branch = 'dev'},
  'yko/mojo.vim',
}

mercurial