Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cryshado/neovim-ton-dev
https://github.com/cryshado/neovim-ton-dev
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cryshado/neovim-ton-dev
- Owner: cryshado
- Created: 2022-01-31T17:42:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T20:57:31.000Z (almost 2 years ago)
- Last Synced: 2024-08-13T00:22:17.226Z (4 months ago)
- Language: Lua
- Size: 3.91 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ton-smart-contracts - neovim FunC syntax highlighting
README
## neovim-ton-dev
1. Install [neovim](https://github.com/neovim/neovim/wiki/Installing-Neovim)
2. Install [vim-plug](https://github.com/junegunn/vim-plug#neovim)
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
```4. Install dependencies (`Node JS` and `npm` must be installed before):
```
cd tree-sitter-func & npm i
```5. Add current `node_modules` to `PATH`:
```
export PATH=$PATH:./node_modules/.bin
```6. Just run this:
```
tree-sitter generate
```7. Create link to queries
```
ln -s /root/parsers/tree-sitter-func/queries /root/.config/nvim/queries/func
```8. Clone this repository:
```
https://github.com/PythoNyashka/neovim-ton-dev.git
```9. Copy the configuration files to nvim config directory:
```
cp *.vim *.lua ~/.config/nvim/
```10. Run `nvim` and execute `:PlugInstall`, then reopen nvim and execute `:TSInstall func`
11. Exit from `nvim` and try to open any `*.fc` file