Open utterances-bot opened 2 years ago
Hey, Thanks for the great tuto, I'm stuck with the config stuff !
Where to put this code ?
require("null-ls").setup({
sources = {
require("null-ls").builtins.diagnostics.vale,
},
})
Thank you !
Hey, Thanks for the great tuto, I'm stuck with the config stuff ! Where to put this code ?
require("null-ls").setup({ sources = { require("null-ls").builtins.diagnostics.vale, }, })
Thank you !
Hey If you use a init.lua
for your vim config then you can copy and paste it there (after the Plug Import)
Otherwise, if you use a init.vim
or vimrc
config, use the HERE doc as dictated in the tutorial.
Hope this helps
Hello, great post! But I have set up the environment, but i cannot get any lint when I type a markdown file..
Hello, great post! But I have set up the environment, but i cannot get any lint when I type a markdown file..
Hey did you create a .vale.ini
file in your home directory, can you share the contents of that file?
yeah i have create the file and copy the content from your post.
@changcui Hey can you also check that the styles
folder have rules downloaded for all the 5 sources? (If not please run the vale sync
command to download them
When syncing, I'm seeing
$ vale sync
SUCCESS Downloaded package 'Google'
SUCCESS Downloaded package 'Readability'
SUCCESS Downloaded package 'alex'
SUCCESS Downloaded package 'proselint'
Downloading packages [4/5] █████████████████████████████████████████████████████████████████ 80% | 2sGet "IBM": unsupported protocol scheme ""
Using your .vale.ini code exactly. Any idea why that error throws?
When syncing, I'm seeing
$ vale sync SUCCESS Downloaded package 'Google' SUCCESS Downloaded package 'Readability' SUCCESS Downloaded package 'alex' SUCCESS Downloaded package 'proselint' Downloading packages [4/5] █████████████████████████████████████████████████████████████████ 80% | 2sGet "IBM": unsupported protocol scheme ""
Using your .vale.ini code exactly. Any idea why that error throws?
Hey, thanks for reporting this, looks like vale doesn't support downloading IBM styles automatically (the repo seems to be unmaintained https://github.com/errata-ai/IBM). Although you can try to download them manually (copy the IBM directory from repo to the styles
folder)
Nice! But rewrapping text with gq
stopped working, probably because Vale diagnostic messages are displayed next to each line. Any ideas on how to get gq
to work?
Writing like a pro with vale & neovim
Learn how to setup and use vale, a syntax-aware prose linter with neovim for technical writing be it personal blogs or technical documentation.
https://bhupesh.me/writing-like-a-pro-with-vale-and-neovim/