Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.03 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.03 KB

neovim-ton-dev

  1. Install neovim

  2. Install vim-plug

  3. 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
  1. Install dependencies (Node JS and npm must be installed before):
cd tree-sitter-func & npm i
  1. Add current node_modules to PATH:
export PATH=$PATH:./node_modules/.bin
  1. Just run this:
tree-sitter generate
  1. Create link to queries
ln -s /root/parsers/tree-sitter-func/queries /root/.config/nvim/queries/func
  1. Clone this repository:
https://github.com/PythoNyashka/neovim-ton-dev.git
  1. Copy the configuration files to nvim config directory:
cp *.vim *.lua ~/.config/nvim/
  1. Run nvim and execute :PlugInstall, then reopen nvim and execute :TSInstall func

  2. Exit from nvim and try to open any *.fc file