Commit graph

102 commits

Author SHA1 Message Date
Kiyan Yazdani
307c78aa1e
Merge pull request #47 from theHamsta/fix-typo-contributing.md
Fix typo in CONTRIBUTING.md
2020-05-08 20:46:35 +02:00
Stephan Seitz
0a98fd5795 Fix typo in CONTRIBUTING.md 2020-05-08 18:03:06 +02:00
Kiyan Yazdani
64b7f77a5f
Merge pull request #46 from theHamsta/fix-typo-readme
Fix typo in README.md
2020-05-08 16:43:04 +02:00
Stephan Seitz
9c4099a898 Fix typo in README.md 2020-05-08 16:16:12 +02:00
Kiyan Yazdani
e9bcc844d4
Merge pull request #40 from vigoux/contributing
Add CONTRIBUTING.md
2020-05-07 14:09:50 +02:00
Thomas Vigouroux
c6b0a62bd6 fix(CONTRIBUTING): typos 2020-05-07 14:03:29 +02:00
Thomas Vigouroux
22f73628f6 fix(lua): update queries 2020-05-07 14:03:29 +02:00
Thomas Vigouroux
824b063d0d fix: change locals extraction 2020-05-07 14:03:29 +02:00
Thomas Vigouroux
5dc5695413 feat: support suggested highlights 2020-05-07 14:03:29 +02:00
Thomas Vigouroux
2b3d4d21a8 docs: add contributig draft 2020-05-07 14:03:29 +02:00
Kiyan Yazdani
096ca6b068
Merge pull request #44 from vigoux/statusline
Provide a statusline indicator
2020-05-07 13:58:12 +02:00
Thomas Vigouroux
703ccbec59 docs: add statusline indicator informations.
Also document newly added parsers by adding them in the readme.
2020-05-07 13:04:53 +02:00
Thomas Vigouroux
7682a1a49f feat: provide a statusline indicator
It will show the current branch at the cursor going the tree as such.
root->node->subnode->leaf

If an argument is provided to `statusline`, then the tree will be
truncated as follows :
..->subnode->subnode
2020-05-05 20:06:45 +02:00
Thomas Vigouroux
5cc7407c7f
Merge pull request #37 from theHamsta/node-movement
Add 'nvim-treesitter/node-movement'
2020-05-03 11:19:28 +02:00
Stephan Seitz
a33bccaaf0 Add documentation for node_movement, rename: textobj -> incremental_selection 2020-05-03 11:10:36 +02:00
Stephan Seitz
d0b84dd89f Add 'nvim-treesitter/node-movement' 2020-05-03 10:51:15 +02:00
Kiyan Yazdani
0207836eb2
Merge pull request #39 from vigoux/incremental_selection
Move textobj module to incremental_selection.
2020-05-02 14:37:46 +02:00
Thomas Vigouroux
39da51bbd1 modules: move textobj to incremental_selection
As suggested in #37, rename the textobj module to incremental_selection.
Also adds a utility function to get the config of a module.
2020-05-02 13:29:40 +02:00
Kiyan Yazdani
34c0b0cccb
Merge pull request #36 from theHamsta/community-parsers
Add some more community parsers
2020-05-01 23:58:39 +02:00
Stephan Seitz
56f4aef198 Add some more community parsers
The haskell one really takes long to compile
2020-05-01 23:38:17 +02:00
Thomas Vigouroux
322bf360b2
Merge pull request #35 from kyazdani42/refacto/config-doc
update docs for ensure installed, move modules config in config.modules
2020-05-01 14:39:47 +02:00
kiyan42
dc06f9ea81 update docs for ensure installed, move modules config in config.modules 2020-05-01 12:26:57 +02:00
Kiyan Yazdani
1d6ad9b560
Merge pull request #34 from theHamsta/ensure_installed
Add function 'nvim-treesitter/install'.ensure_installed
2020-05-01 12:17:25 +02:00
Stephan Seitz
0b4cdba3e4 Avoid global handle to enable installing multiple parsers in parallel 2020-05-01 12:16:00 +02:00
Stephan Seitz
fc88339832 Add ensure_installed option to config 2020-05-01 12:16:00 +02:00
Stephan Seitz
6b2d76153f Add function 'nvim-treesitter/install'.ensure_installed 2020-05-01 10:09:48 +02:00
Thomas Vigouroux
5532019122
Merge pull request #33 from kyazdani42/doc/add-documentation
Doc/add documentation
2020-04-28 14:57:00 +02:00
kiyan42
475fc8988b add vim documentation 2020-04-28 12:43:34 +02:00
Thomas Vigouroux
eba32e8813
Merge pull request #32 from kyazdani42/feat/readme-infos
edit: add information to the readme
2020-04-28 12:39:12 +02:00
kiyan42
0d75cb2d27 edit: add information to the readme
- commands descriptions
- list of supported languages
2020-04-28 12:35:33 +02:00
kiyan42
f83b76b488 add documentation 2020-04-28 12:22:11 +02:00
Kiyan Yazdani
e7a9c41103
Merge pull request #30 from kyazdani42/fix/arg-positionning-install
fix install by changing cc arguments position
2020-04-27 15:30:02 +02:00
kiyan42
f8029cfc64 fix install by changing cc arguments position 2020-04-27 15:27:59 +02:00
Kiyan Yazdani
efd363f810
Merge pull request #28 from vigoux/checkhealth-highlight
Add highlight to healthchecks
2020-04-26 16:52:41 +02:00
Thomas Vigouroux
ce690e550d health(refactor): move checks inside health.lua 2020-04-26 15:38:32 +02:00
Thomas Vigouroux
4d4e7d8a8c health: add highlight to healthchecks 2020-04-26 09:29:52 +02:00
Kiyan Yazdani
f8b39e1d3a
Merge pull request #23 from vigoux/feature/textobjects
Node and scope text objects
2020-04-25 23:33:13 +02:00
Thomas Vigouroux
bb709aa8d0 refactor(textobj): remove unnecessary functions 2020-04-25 21:49:19 +02:00
Thomas Vigouroux
cadb3ee1ff refactor(textobj): use configs and don't use VimL 2020-04-25 21:46:22 +02:00
Thomas Vigouroux
7c7d4e5270 textobj: little refactor 2020-04-25 21:46:22 +02:00
Thomas Vigouroux
c62685841e textobj: add incremental scope selection 2020-04-25 21:46:22 +02:00
Thomas Vigouroux
78b40f895c textobj: add incremental node selection 2020-04-25 21:46:22 +02:00
Thomas Vigouroux
2ca0c348f7
Merge pull request #26 from kyazdani42/fix/config-isenabled
fix: config is enabled also checks parser existence
2020-04-25 21:44:44 +02:00
kiyan42
f489b4b0a3 fix: config is enabled also checks parser existence 2020-04-25 16:18:53 +02:00
Thomas Vigouroux
bae9f32952
Merge pull request #18 from kyazdani42/improve-configs
feat/refacto: add user interactions, improve configurations
2020-04-25 10:38:20 +02:00
kiyan42
62786ec7c6 feat/refacto: improve configurations
- You should now get the configs through functions
- Configs for languages are now inside a local object called parsers
- You can get the parser installation configurations with `get_parser_configs`
- A new object has been initialized inside configs to specify module config (called config).
- Provide functions to enable/disable a module on one buffer
- Provide functions to enable/disable a module on all buffers, and if filetype is
  specified, for specific filetype
- Provide function to determine if module is activated for a specified filetype
2020-04-24 22:15:21 +02:00
Thomas Vigouroux
2a4fece2b6
Merge pull request #25 from TravonteD/ruby-support
Add query/locals for ruby syntax highlighting
2020-04-24 15:01:00 +02:00
TravonteD
79ab9fc6fb Squashed commit of the following:
commit 1b3700b0cd68cb507c64b7243a5bea050379f09c
Author: TravonteD <tman1300@aol.com>
Date:   Fri Apr 24 08:44:34 2020 -0400

    remove local from the capture groups

commit 62f1a613c7c6f26e3a85f06f322ead28280dc7ca
Author: TravonteD <tman1300@aol.com>
Date:   Thu Apr 23 18:43:09 2020 -0400

    update captures for identifiers

commit 9966d5a9cd780b2de80e620cee6833fd341028d0
Author: TravonteD <tman1300@aol.com>
Date:   Thu Apr 23 18:42:42 2020 -0400

    add capture for constants that are recievers of a method call

commit 10f03606710a3a54c8c722e4883b9475c6f9f776
Author: TravonteD <tman1300@aol.com>
Date:   Thu Apr 23 17:54:25 2020 -0400

    update captures for function definitions and calls

commit 4b350274cb02e1b69ae013fa157bae5c6be9e577
Author: TravonteD <tman1300@aol.com>
Date:   Thu Apr 23 17:21:10 2020 -0400

    update captures for operators

commit c66d42cd0d56d0a1bbfb1f88ffa7ff6ae8b6c2df
Author: TravonteD <tman1300@aol.com>
Date:   Thu Apr 23 17:10:13 2020 -0400

    update captures for literals

commit a9c097fe03f7294fdaede760f2c016cf6c960a45
Author: TravonteD <tman1300@aol.com>
Date:   Thu Apr 23 15:54:47 2020 -0400

    add highlights and locals from treesitter-ruby
2020-04-24 08:48:18 -04:00
Kiyan Yazdani
313694b6dd
Merge pull request #24 from TravonteD/spell
Fix spelling inconsistencies
2020-04-23 19:56:09 +02:00
TravonteD
2bb1fdcbe2 Fix spelling inconsistencies 2020-04-23 12:51:00 -04:00