Skip to content

Textidote - spelling check #1857

@Princeofthebow

Description

@Princeofthebow

Hi sorry it is me again from yesterday!
As I'm navigating my way trough I'm now looking to make use of a spell checker. From the documentation from what I understand using textidote is possible solution.

I have therefore set the followin .vimrc file:

call plug#begin('~/.vim/plugged')
Plug 'lervag/vimtex'
call plug#end()

let g:tex_flavor = 'latex'
let g:vimtex_view_method = 'mupdf'
let g:vimtex_grammar_textidote = {
            \ 'jar': '/usr/local/bin/textidote.jar',
            \ 'args': '--check en',
            \}

This is my MWE tex file:

\documentclass{article}
\begin{document}
Hellor Worlsd!
\end{document}

but after running :compiler textidote | lmake
I get the following outcome:

make: *** No targets specified and no makefile found.  Stop.

Press ENTER or type command to continue
make: *** No targets specified and no makefile found.  Stop.

and then after i hit enter an empty vim with:

(1 of 1): make: *** No targets specified and no makefile found.  Stop.

This has puzzled me since I as mentioned I'm rather new to vim and vimtex (but not latex).
I have run textidote on the textfile and it appears to be working correctly

ps is there any other way to handle spellcheck that may be better?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions