From f83b76b488505720538a37b7b2bffc3c85771adb Mon Sep 17 00:00:00 2001 From: kiyan42 Date: Tue, 28 Apr 2020 12:22:11 +0200 Subject: add documentation --- doc/nvim-treesitter.txt | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 doc/nvim-treesitter.txt diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt new file mode 100644 index 00000000..1fc986c7 --- /dev/null +++ b/doc/nvim-treesitter.txt @@ -0,0 +1,90 @@ +*nvim-treesitter* + +Minimum version of neovim: nightly + +Authors: Yazdani Kiyan , Vigouroux Thomas <@EMAIL?> + +============================================================================== +INTRODUCTION *nvim-treesitter* + +nvim-treesitter wraps the neovim treesitter api to provide functionnalities such +as highlighting and incremental selection, and a command to easily install parsers. + +============================================================================== +QUICK START *nvim-treesitter-quickstart* + +Install the parser for your language +> +:TSInstall {language} +< + +To get a list of supported languages +> +:TSInstallInfo +< + +By default, everything is disabled. To enable support for features, in your `init.vim`: + +> + +lua < Date: Tue, 28 Apr 2020 12:32:01 +0200 Subject: add vim documentation --- doc/nvim-treesitter.txt | 50 ++++++++++++++++++++++++------------------------- doc/tags | 11 +++++++++++ 2 files changed, 36 insertions(+), 25 deletions(-) create mode 100644 doc/tags diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 1fc986c7..798c5bfc 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -2,10 +2,10 @@ Minimum version of neovim: nightly -Authors: Yazdani Kiyan , Vigouroux Thomas <@EMAIL?> +Authors: Yazdani Kiyan , Vigouroux Thomas ============================================================================== -INTRODUCTION *nvim-treesitter* +INTRODUCTION *nvim-treesitter-intro* nvim-treesitter wraps the neovim treesitter api to provide functionnalities such as highlighting and incremental selection, and a command to easily install parsers. @@ -14,41 +14,41 @@ as highlighting and incremental selection, and a command to easily install parse QUICK START *nvim-treesitter-quickstart* Install the parser for your language + > -:TSInstall {language} + :TSInstall {language} < To get a list of supported languages + > -:TSInstallInfo + :TSInstallInfo < By default, everything is disabled. To enable support for features, in your `init.vim`: > - -lua <