summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter
AgeCommit message (Collapse)Author
2020-05-01Avoid global handle to enable installing multiple parsers in parallelStephan Seitz
2020-05-01Add `ensure_installed` option to configStephan Seitz
2020-05-01Add function 'nvim-treesitter/install'.ensure_installedStephan Seitz
2020-04-27fix install by changing cc arguments positionkiyan42
2020-04-26health(refactor): move checks inside health.luaThomas Vigouroux
2020-04-26health: add highlight to healthchecksThomas Vigouroux
2020-04-25refactor(textobj): remove unnecessary functionsThomas Vigouroux
2020-04-25refactor(textobj): use configs and don't use VimLThomas Vigouroux
2020-04-25textobj: little refactorThomas Vigouroux
2020-04-25textobj: add incremental scope selectionThomas Vigouroux
2020-04-25textobj: add incremental node selectionThomas Vigouroux
2020-04-25fix: config is enabled also checks parser existencekiyan42
2020-04-24feat/refacto: improve configurationskiyan42
- 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-23fix: add -fPIC flag to compilinghaorenW1025
2020-04-22highlight: retain highlighters with the buffersThomas Vigouroux
2020-04-22feat: syntax highlightingThomas Vigouroux
2020-04-21feat/refacto: add configs.lua, setup installkiyan42
- configs.lua holds the `repositories` data - install health moved to health.lua - plugins loads _root.setup() on startup - install and list command are available through vim > use them with `:TSInstall lang` and `:TSInstallInfo`
2020-04-21fix: parser install tbl_flatten > unpackkiyan42
- fix parser install - format install.lua
2020-04-21Merge pull request #11 from kyazdani42/parser-listThomas Vigouroux
feat: add parser list
2020-04-21feat: add typescript installkiyan42
- add repo.location for typescript and compile at that location - typescript and tsx must be installed separately as two different parsers.
2020-04-21refacto/feat: enable csharp install, fix clonekiyan42
- clone only master at depth 1 to avoid long download from huge repos. - use ft to specify folder name to clone so csharp can be cloned and used properly.
2020-04-21fix: repositories from M.repositories since last merge.kiyan42
2020-04-21feat: add checkhealthkiyan42
2020-04-20Merge pull request #10 from vigoux/feature/node-utilsThomas Vigouroux
Node manipulation utilities
2020-04-20feat: add parser listkiyan42
2020-04-20feat: add node manipulation utilsThomas Vigouroux
2020-04-20feat: add most parserskiyan42
2020-04-20Merge pull request #4 from kyazdani42/improve-installerThomas Vigouroux
feat/refacto: improve installer
2020-04-20feat/refacto: improve installerkiyan42
2020-04-19perf: don't compute locals on buffer updatesThomas Vigouroux
Instead we lazily evaluate them on request. This allow two things : * better performances * being sure the locas are up to date
2020-04-19fix: prepare injections mechanismThomas Vigouroux
2020-04-19style: avoid overindenting thingsThomas Vigouroux
2020-04-19fix(matches): better storage of nodesThomas Vigouroux
2020-04-19feat: add locals to setup procedureThomas Vigouroux
2020-04-19feat: first version of localsThomas 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
2020-04-19add parser installerkiyan42
2020-04-19feat: add parsers module and better match iterThomas Vigouroux
The `parsers` module manages parsers for us, for now only in a really basic way. iter_prepared_mathes iters on an enhanced versions of the matches, where captures are directly accessible via their names to allow things like : ((itentifier) @def.first (identifier) @def.last) To be handled like this in lua: match.def.first match.def.last Also adds a `set!` predicate to allow setting data within the prepared match (see queries/lua/locals.scm) for examples.
2020-04-18feat: add some utils to read queriesThomas Vigouroux