-
Install neovim
-
Install vim-plug
-
Clone the FunC language support repository into the
parsersdirectory in your home directory:
cd ~ && mkdir parsers && cd parsers && git clone https://github.com/akifoq/tree-sitter-func.git
- Install dependencies (
Node JSandnpmmust be installed before):
cd tree-sitter-func & npm i
- Add current
node_modulestoPATH:
export PATH=$PATH:./node_modules/.bin
- Just run this:
tree-sitter generate
- Create link to queries
ln -s /root/parsers/tree-sitter-func/queries /root/.config/nvim/queries/func
- Clone this repository:
https://github.com/PythoNyashka/neovim-ton-dev.git
- Copy the configuration files to nvim config directory:
cp *.vim *.lua ~/.config/nvim/
-
Run
nvimand execute:PlugInstall, then reopen nvim and execute:TSInstall func -
Exit from
nvimand try to open any*.fcfile