File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,17 @@ Fuchsia developers using tree-sitter supported editors (NeoVim / Emacs).
28
28
29
29
### NeoVim Treesitter
30
30
31
- TODO: add to [ nvim-treesitter] [ ] register.
31
+ * Require NeoVim version > 0.9* to use [ nvim-treesitter] [ ] plugin.
32
+
33
+ ` :TSInstall fidl ` to install in NeoVim.
34
+
35
+ You may need to install ` tree-sitter ` and ` nodejs ` .
36
+
37
+ Add filetype mapping, you may add this to ` <nvim-config>/lua/options.lua ` :
38
+
39
+ ``` lua
40
+ vim .filetype .add ({ extension = { fidl = " fidl" } })
41
+ ```
32
42
33
43
#### local installation
34
44
@@ -56,7 +66,6 @@ usually `$XDG_CONFIG_HOME/nvim` is one of the runtime-dir.
56
66
## TODOs
57
67
58
68
- [ ] setup github actions to pull fuchsia repo and verify sdk every half year
59
- - [ ] add to nvim-treesitter
60
69
- [ ] add instructions for emacs usage
61
70
62
71
You can’t perform that action at this time.
0 commit comments