require("telescope").load_extension("prosesitter") -- Optionally, depends on telescope.nvim
require("prosesitter"):setup({
vale_bin = vim.fn.stdpath("data") .. "/user/bin/vale",
vale_cfg = vim.fn.stdpath("data") .. "$HOME/.config/vale/.vale.ini",
--optional extra queries overrides existing queries
queries = {
-- see the piece on adding queries on how to use this
-- (not needed if using an out of the box supported language
py = {
strings = "[(string) ] @capture",
comments = "[(comment)+ ] @capture",
},
},
-- highlight groups to use for lint errors, warnings and suggestions
severity_to_hl = { error = "SpellBad", warning = "SpellRare", suggestion = "SpellCap" },
-- weather to lint strings, comments or both for a language
lint_targets = { py = "both", tex = "strings", sh = "comments" },
disabled_ext = { "tex" }, -- do not ever lint tex files
auto_enable = false, -- do not start linting files on open (default = true)
default_cmds = false, -- do not add commands (default = true)
})
Language tool not installed, install language tool? y/n: yError detected while processing /home/aaron/.dotfiles/nvim/.config/nvim/init.lua:
E5113: Error while calling lua chunk: ...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:146: ...e/pack/packer/start/prosesitter/lua/prosesitter/util.
lua:16: Vim:E492: Not an editor command: IndentBlanklineRefresh
The language tool is already installed but it will still ask to be installed. Neverthless....
This is my prosesetter.lua file
I am getting the following error
The language tool is already installed but it will still ask to be installed. Neverthless....