summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-19feat(languagetree): implement language treeThomas Vigouroux
Allow the LanguageTree to be used as an option for highlighting. Co-authored-by: Santos Gallegos <stsewd@protonmail.com> Co-authored-by: Yazdani Kiyan <yazdani.kiyan@protonmail.com>
2020-10-19readme: add nvim-treesitter-contextRom Grk
2020-10-16feat(folds): add catch_clause to js foldsSam Bernheim
2020-10-16feat: add more javascript foldssbernehim4
2020-10-16Fix: avoid overwriting tables in insert_to_pathStephan Seitz
The following query will result in matches with only one node though it requires two nodes to be a match. ```scheme (function_definition (comment) @function.inner.start body: (block) @function.inner) ``` Why? First `insert_to_path` is called for `@function.inner.start` which will result int the following table. ```lua { function = { inner = { start { node } } } } ``` `insert_to_path` will overwrite the result ```lua { function = { inner = { node } } } ``` Related #552
2020-10-16Remove get_parser logickiyan42
upstream now handles parsers by itself, so we don't need to do it in this repo.
2020-10-16remove destructuring from @parameterfffed
2020-10-16Update README requirements for parser download/compilationStephan Seitz
2020-10-15feat: Add more lua foldsMike
Add repeat_statement to lua folds
2020-10-15Add additional queries for @parameter for jsfffed
2020-10-13C++ highlights: highlight all kinds of optional parametersStephan Seitz
declarator can be a identifier, a reference or a pointer
2020-10-13fix(highlights): use new highlighter interfaceThomas Vigouroux
2020-10-12query: remove unnecessary query parsingThomas Vigouroux
2020-10-12highlight: use new highlighter interfaceThomas Vigouroux
2020-10-12Ruby highlights: reset highlight on interpolationStephan Seitz
@TravonteD
2020-10-11Explicitly check for cterm and gui values for fgAkin Sowemimo
If a user hasn't set either we default to NONE
2020-10-11Add a check to ensure the fg attribute existsAkin Sowemimo
before setting the value
2020-10-11Don't change the background highlightsAkin Sowemimo
treesitter highlighting is colouring the characters in the foreground so there's no need to touch the highlighting of the background
2020-10-11fix cterm fg and bg errorAkin Sowemimo
2020-10-11Add background and foreground colors to TSNoneAkin Sowemimo
This fixes the issue where colors highlighted as TSNone were not reverting to the background and foreground color.
2020-10-11feat(queries): modeline mechanism for base langsThomas Vigouroux
This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189 This behaves like modelines and remove the use of the base_language map. Also, this allows to fine-tune what we actually want to include per query, which is better IMO.
2020-10-11Use utils get_node_text to get line content and trim all whitespaces.Kristijan Husak
2020-10-11Remove old statusline implementation with new one.Kristijan Husak
2020-10-11Add implementation for improved statusline. Closes #545.Kristijan Husak
2020-10-10[docgen] Update README.mdGithub Actions
2020-10-10fix(highlights): Add TSNamespace highlightStephan Seitz
Start adding highlights for - C++ - Rust (including other scoped_identifier/scoped_type_identifier fixes) - JS (only namespace_import) Addresses #516
2020-10-06Shorten module reference shell_command_selectors to shell.Suhas Hebbar
2020-10-06Code RefactorSuhas Hebbar
- Move select_* function to shell_command_selectors.lua. - Rename select_args to select_compiler_args.
2020-10-06Remove dependency on unzip.Suhas Hebbar
Use tar instead which should be available on default Unixes and Windows
2020-10-05Fix typearg brackets not highlighting for multiple typeargsCorey Williamson
2020-10-05Set function scopeCorey Williamson
2020-10-05Update queries/teal/highlights.scmeuclidianAce
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2020-10-05Add teal parserCorey Williamson
2020-10-05Dart highlights: Reset highlight in interpolationStephan Seitz
2020-10-04fix: readme link to nvim-treesitter-textobjectstonycheang
2020-10-04Fix: fallback git-installation (list of commands is expected)Stephan Seitz
2020-10-04[docgen] Update README.mdGithub Actions
2020-10-04fix(ocaml): highlight characters as suchPau Ruiz Safont
2020-10-04feat: add ocamllex parser and highlightsPau Ruiz Safont
2020-10-04Add "External modules" section to READMEStephan Seitz
2020-10-04Remove textobjects moduleStephan Seitz
2020-10-04Merge pull request #487 from steelsojka/remove-refactorSteven Sojka
chore(modules): remove refactor module
2020-10-01make query-checker happyAlvaro Muñoz
2020-10-01change module to namespaceAlvaro Muñoz
2020-10-01CodeQL locals.scm queriesAlvaro Muñoz
2020-09-30[docgen] Update README.mdGithub Actions
skip-checks: true
2020-09-30fine tune keyword highlightsAlvaro Muñoz
2020-09-30remove locals.scmAlvaro Muñoz
2020-09-30remove non-used capturesAlvaro Muñoz
2020-09-30initial support for CodeQLAlvaro Muñoz