-
Install neovim
-
Install vim-plug
-
Clone the FunC language support repository into the
parsers
directory in your home directory:
cd ~ && mkdir parsers && cd parsers && git clone https://github.com/akifoq/tree-sitter-func.git
- Install dependencies (
Node JS
andnpm
must be installed before):
cd tree-sitter-func & npm i
- Add current
node_modules
toPATH
:
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
nvim
and execute:PlugInstall
, then reopen nvim and execute:TSInstall func
-
Exit from
nvim
and try to open any*.fc
file