diff options
| author | Robert Günzler <r@gnzler.io> | 2022-11-04 16:43:46 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-11-18 18:37:24 +0100 |
| commit | d6cbbad5b1587794f9c50c7c4a613f0deb69b9d4 (patch) | |
| tree | 3ca012c4e41b7476a88c239a4e72b58237372b55 /.vim/lua/plugins.lua | |
| parent | c990158da1051a42fa01866b4663a0ae0f5d8f90 (diff) | |
vim: use `Neorg sync-parsers` instead of doing that manually
Diffstat (limited to '')
| -rw-r--r-- | .vim/lua/plugins.lua | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index d304f80..f213136 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -233,6 +233,7 @@ require('packer').startup({function() 'lua', 'make', 'markdown', + 'markdown_inline', 'ninja', 'norg', 'regex', @@ -266,20 +267,6 @@ require('packer').startup({function() revision = 'main', } } - tsconf.norg_meta = { - install_info = { - url = 'https://github.com/nvim-neorg/tree-sitter-norg-meta', - files = {'src/parser.c'}, - branch = 'main' - } - } - tsconf.norg_table = { - install_info = { - url = 'https://github.com/nvim-neorg/tree-sitter-norg-table', - files = {'src/parser.c'}, - branch = 'main' - } - } tsconf.hare = { install_info = { url = 'https://git.sr.ht/~ecmma/tree-sitter-hare', @@ -841,9 +828,11 @@ require('packer').startup({function() end} -- }}} use {'nvim-neorg/neorg', ft = {'norg'}, module = {'neorg'}, cmd = {'Neorg'}, -- {{{ + run = ':Neorg sync-parsers', requires = { 'nvim-lua/plenary.nvim', 'nvim-neorg/neorg-telescope', + 'nvim-treesitter/nvim-treesitter', }, setup = vim.cmd [[autocmd BufRead,BufNewFile *.norg setlocal filetype=norg]], after = {'nvim-treesitter'}, |