Constantine Theocharis
10ef8f98ef
Add section 'Performance' to docs
2020-09-02 23:29:27 +02:00
Stephan Seitz
bc36521967
feat(refactor.navigation): allow a fallback_function for goto_definition
...
`fallback_function` is called when nvim-treesitter can not resolve the
variable under the cursor.
2020-08-31 22:16:27 +02:00
Stephan Seitz
5948aba886
feat(refactor.navigation): add navigation.goto_{next,previous}_usage
2020-08-31 18:56:41 +02:00
Stephan Seitz
2bd13c9d41
docs: fix syntax error in README example
2020-08-26 13:22:31 +02:00
evakuator
6f1908a2ec
Docs: remove enable=true from textobjects module
2020-08-20 09:00:46 +02:00
Santos Gallegos
7f81df4409
Docs: documentation for modules/submodules
2020-08-18 19:15:47 +02:00
Steven Sojka
b796f0725d
Merge pull request #305 from theHamsta/textobjects-submodules
...
Textobjects submodules
2020-08-17 11:39:22 -05:00
delphinus
0b3cd6c131
Avoid duplication of help tags
2020-08-17 17:56:05 +02:00
kiyan42
20e448882e
some refacto, doc fixes and jsx queries
...
- compute query language extensions *after* default ones
(jsx after javascript)
- remove outdated ts_utils functions from docs
- add better regex detection to javascript
- javascriptreact to use javascript queries
- add javascript.jsx to javascript queries
- write jsx.scm hl file
2020-08-17 17:48:33 +02:00
Stephan Seitz
e629efafd8
Textobjects: provide mappings for all swap/goto functions
2020-08-17 17:44:40 +02:00
Stephan Seitz
d2c5e496c0
docs(hlgroups): document TSAnnotation, TSCurrentScope, TSDefinition,
...
TSDefinitionUsage
2020-08-16 21:45:26 +02:00
Steven Sojka
579c9936d6
feat(highlights): add is predicate
2020-08-16 09:04:07 -05:00
Thomas Vigouroux
a9abe2b9b0
docs: document the new runtime query system
2020-08-14 16:42:53 +02:00
Santos Gallegos
429036317a
Lua: highlight function name
2020-08-09 18:38:00 +02:00
Stephan Seitz
70939e71c9
Add TSUninstall
2020-08-02 22:58:08 +02:00
Stephan Seitz
a872762d82
Add TSUpdate command to update parsers
2020-08-02 22:58:08 +02:00
Santos Gallegos
5202b7b098
Docs: rework readme
...
- Fix some typos
- Remove some unnecessary text that was taking space
- Use double quotes in lua examples (this seems to be the convention in
the source code)
- Sort list of languages so they are easy to find.
2020-07-29 17:00:23 +02:00
Santos Gallegos
6f9e5bf23f
Docs: format and fixes
...
Format the docs to be consisted and some typos.
2020-07-27 16:49:07 +02:00
Santos Gallegos
6f01384cb2
Parsers: add reStructuredText
2020-07-27 09:16:26 +02:00
Stephan Seitz
d351c9b342
Update documentation for new modules 'refactor'/'textobjects'
2020-07-14 22:34:43 +02:00
Stephan Seitz
97ad374816
Fix #167 : Add custom_captures config key to set highlights for custom queries
2020-07-13 22:04:24 +02:00
Sainnhepark
af8192f087
remove doc/tags
2020-07-01 14:13:41 +02:00
Stephan Seitz
4757636995
Rgenerate doc/tags
2020-06-30 17:22:27 +02:00
Stephan Seitz
a2f0931254
Extend documentation for TSError
2020-06-29 13:50:23 +02:00
Stephan Seitz
c27d35adc5
Fix typo in documentation: labe: -> label:
2020-06-28 12:11:22 +02:00
kiyan42
ddb41c36e8
update docs for TSInstall
2020-06-27 12:43:19 +02:00
Thomas Vigouroux
282e18edd1
highlight: use custom highlight groups
2020-06-26 20:56:19 +02:00
kiyan42
cf72524b2f
add winnr to get_node_at_cursor
2020-06-19 14:13:23 +02:00
kiyan42
cabe61ac19
update docs
2020-06-19 14:03:01 +02:00
Santos Gallegos
53284f311a
Fix example mappings
2020-06-01 19:15:28 -05:00
Thomas Vigouroux
c035fb9f5d
docs: document folding
2020-05-25 11:19:38 +02:00
K Lauer
70224ffc8f
docs: missing EOF for init.vim
2020-05-19 10:07:56 -07:00
kiyan42
8be2dc64a2
Expose internal api.
...
- add `exposed_state` to expose 'current_node' and 'cursor_pos'
for a current buffer to the user.
- add `get_buf_state` and `get_node_api` for users.
- add documentation about api functions.
- remove `node_movement` module which should be done in user side.
2020-05-15 14:19:29 +02:00
kiyan42
45dcebb15f
refacto/feat: better handling of parser updates
...
features:
- node_movement is moving between scopes.
- add selection initialization from normal mode
- add a decremental selection
improvements:
- attach to buffer to run tree parsing on change
- run state update on CursorMoved
- the buffer state is:
```
{
cursor_pos = { row=row, col=col },
current_node = node_under_cursor,
selection = {
range = nil, -- activates when starting a selection
nodes = {} -- filling up when starting an incremental selection
},
parser = parser, -- parser for current buffer
}
```
- refacto all the modules reliant on parsing the tree, update the current nodes, get the current nodes...
fixes:
- fix has_parser to look for .so libraries
- fix should select the whole file when selection root in selection
2020-05-12 16:16:48 +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
Stephan Seitz
a33bccaaf0
Add documentation for node_movement, rename: textobj -> incremental_selection
2020-05-03 11:10:36 +02:00
kiyan42
dc06f9ea81
update docs for ensure installed, move modules config in config.modules
2020-05-01 12:26:57 +02:00
kiyan42
475fc8988b
add vim documentation
2020-04-28 12:43:34 +02:00
kiyan42
f83b76b488
add documentation
2020-04-28 12:22:11 +02:00