| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-05-12 | refacto/feat: better handling of parser updates | kiyan42 | |
| 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-07 | fix: change locals extraction | Thomas Vigouroux | |
| 2020-04-26 | health(refactor): move checks inside health.lua | Thomas Vigouroux | |
| 2020-04-25 | textobj: add incremental node selection | Thomas Vigouroux | |
| 2020-04-21 | feat: add checkhealth | kiyan42 | |
| 2020-04-19 | perf: don't compute locals on buffer updates | Thomas Vigouroux | |
| Instead we lazily evaluate them on request. This allow two things : * better performances * being sure the locas are up to date | |||
| 2020-04-19 | fix: prepare injections mechanism | Thomas Vigouroux | |
| 2020-04-19 | style: avoid overindenting things | Thomas Vigouroux | |
| 2020-04-19 | feat: add locals to setup procedure | Thomas Vigouroux | |
| 2020-04-19 | feat: first version of locals | Thomas Vigouroux | |
| Locals will be the main interface to treesitter, through some functions: get_definitions(bufnr) : returns all the definitions in bufnr get_scopes(bufnr): returns all definitions in bufnr get_references(bufnr): returns all references in bufnr | |||
