Skip to content

Commit

Permalink
ci: trying to fix parser error
Browse files Browse the repository at this point in the history
  • Loading branch information
wllfaria committed Aug 16, 2024
1 parent bb337ff commit 771a7d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/tests/parser_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ describe("parser", function()
local parser = require("ledger.parser")

before_each(function()
require("nvim-treesitter.install").ensure_installed("ledger")
vim.cmd.enew()
vim.bo.filetype = "ledger"
end)
Expand Down
12 changes: 12 additions & 0 deletions scripts/minimal_init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,15 @@ set rtp+=../nvim-cmp
set rtp+=../nvim-treesitter

runtime! plugin/plenary.vim
runtime! plugin/LuaSnip
runtime! plugin/nvim-cmp
runtime! plugin/nvim-treesitter

lua << EOF
require('nvim-treesitter').setup {
ensure_installed = { "ledger" },
highlight = {
enable = true,
},
}
EOF

0 comments on commit 771a7d1

Please sign in to comment.