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

Sun, 05 Mar 2023 15:14:39 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 Mar 2023 15:14:39 -0500
changeset 1060
c20cb89a2ee9
parent 1058
c8754b0414b9
child 1064
fcfa295076a8
permissions
-rw-r--r--

Add "comment" parser

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',
          'comment',
          'eex',
          'elixir',
          'heex',
          'help',
          'lua',
          'surface',
          'vim',
        },
      })
    end,
  },
  'Shougo/vinarise.vim',
  'asciidoc/vim-asciidoc',
  {'vim-perl/vim-perl', branch = 'dev'},
  'yko/mojo.vim',
}

mercurial