aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* Format with styluaSantos Gallegos2021-11-181-3/+1
| | | | CI is failing for stylua due to this.
* refactor: inherit jsongegoune2021-11-121-0/+1
|
* feat: add http parsergegoune2021-11-121-0/+9
| | | | | | | | All credit goes to @NTBBloodbath. See: https://github.com/NTBBloodbath/rest.nvim/issues/75#issuecomment-960447966 Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
* feat: get node at cursor of other winFabian David Schmidt2021-11-121-1/+7
|
* Add condition function to module configpatrick962021-11-122-6/+12
| | | | | | | | The function is called with the language and bufnr, if it returns false, the module is disabled for that buffer. This gives the user more fine-grained control over whether a module is started.
* Ensure `ft_to_lang` supports multipart filetypes.Robert Jackson2021-11-111-2/+7
| | | | | | | | This allows a given parser to directly implement a multipart filetype (like `glimmer` parser does for `html.handlebars`). If an exact match for the current filetype is found in the lookup table, it will be used; otherwise we look for just the first segment.
* Add `html.handlebars` as a valid type for the glimmer parser.Robert Jackson2021-11-111-0/+1
| | | | This filetype is in common use due to https://github.com/mustache/vim-mustache-handlebars/blob/master/ftdetect/handlebars.vim#L2
* refactor: nitpickingSirisak Lueangsaksri2021-11-082-2/+2
|
* feat: sync install for `ensure_installed`Sirisak Lueangsaksri2021-11-082-1/+7
|
* chore: fix typosDundar Göc2021-11-023-3/+3
|
* Fix typo in locals.lua: vaild -> validStephan Seitz2021-11-011-1/+1
|
* Fix bugs in TSRangeStephan Seitz2021-11-011-2/+4
| | | | | - TSRange:new() was missing to extract the line from nvim_buf_get_lines - TSRange:parent() was only working when current buf == self.buf
* Use wrapper around vim.notify with common optionsSantos Gallegos2021-10-223-3/+9
| | | | Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1927#issuecomment-947064843
* Add zig as compiler for parsermaxxnino2021-10-212-1/+12
|
* Use vim.notify instead of print in some places (#1927)Santos Gallegos2021-10-191-2/+2
|
* Switch to official elixir-lang parserConnor Lay (Clay)2021-10-131-3/+3
|
* feat(healthcheck): support native lua healthchecks, and fixesJavier López2021-10-111-7/+10
| | | | | | | | | | After neovim/neovim#15259 lua healthchecks are called directly and are prefered over neovim autoload ones. The discover of Lua ones requires the function to be named "check()". Also the mentioned PR changed the design of healthchecks to not use output capturing, therefore avoid printing and instead concatenate and call the health functions.
* Add scala maintainerStevan Milic2021-10-071-0/+1
| | | | Add fold for scala val definition to support type class entries
* parsers: add D parserCezary Drożak2021-10-071-0/+11
|
* feat: add "experimental" key to parsersCezary Drożak2021-10-071-0/+3
| | | | feat(ci): mark parsers as experimental in README
* Added branch specificationBenjamin Graham2021-10-031-0/+1
|
* LLVM parser/highlighter addedBenjamin Graham2021-10-031-0/+8
|
* chore: use vim.ui.select for TSEditQuery if availableStephan Seitz2021-10-031-19/+36
|
* chore: print compiler version in healthcheckStephan Seitz2021-10-031-1/+8
|
* feat(install): add options `prefer_git` and `command_extra_args`Stephan Seitz2021-10-012-5/+15
| | | | Fixes #1888
* Use vim-range style (1-index based) when possible (#1841)Santos Gallegos2021-09-242-42/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/nvim-treesitter/nvim-treesitter/pull/1829 half fixed incremental selection for the vim parser, but other bugs still remain (infinite selection and skip selecting the root node). Problems can be replicated with these two files: (missing selecting the root node) ```vim set scrolloff=7 set scrolloff=7 ``` (infinite loop) ```vim set scrolloff=7 ``` The main problem is that we try to map the current selection range to a TS range, but the TS range of a node could include the EOL/EOL marks so it's impossible to know when to change the vim range to match the TS range, is more easy to transform the TS range to a vim range and do the comparison.
* Swapping to the correct repoLucas Crownover2021-09-211-1/+1
|
* Adding perl parserLucas Crownover2021-09-211-0/+9
|
* Fix incremental selection for nodes that include EOLSantos Gallegos2021-09-191-1/+2
| | | | | | | | | | | | From `:h setpos()` > If "col" is smaller than 1 then 1 is used. This can be tested with incremental selection on a vim file. ```vim set title ```
* Support hjsonkghugo2021-09-191-0/+9
|
* parsers: add glsl parserStephan Seitz2021-09-171-0/+9
|
* New kotlin parserJoakker2021-09-151-2/+2
|
* chore: fix formatting in parsers.luaStephan Seitz2021-09-141-1/+1
|
* fix(lang): only use first part in multi-langThomas Vigouroux2021-09-141-0/+1
|
* fix(fennel): update parser and all the queriesOtto Modinos2021-09-101-1/+1
|
* Add tree-sitter-dot (#1770)rydesun2021-09-011-0/+9
| | | | | | | | | | | | | * Add tree-sitter-dot * Fix DOT highlights * highlights(DOT): add HTML string * Remove DOT ftdetect Vim and Neovim runtime have added DOT filetype detection * Update DOT highlights
* Add tree-sitter-pioasm with highlights and injections (#1759)leo602282021-08-291-0/+9
| | | | | | | | | | | | | | * add tree-sitter-pioasm with highlights and injections * [docgen] Update README.md skip-checks: true * remove ada injection from pioasm * address review * remove unnecessary python predicate Co-authored-by: Github Actions <actions@github>
* Add support for json5Joakker2021-08-251-0/+9
|
* Replaces curl argument: --no-progress-meter -> --silentEduardo Cuducos2021-08-251-1/+1
| | | | Fix #1748
* fix(dowload): don't display curl progressThomas Vigouroux2021-08-241-0/+1
| | | | Fixes #1731
* Query: allow to pass a list to get_capture_matches (#1693)Santos Gallegos2021-08-221-12/+25
|
* Fixed lua style issues, updated grammar version to fix macOS build issuesAndrew Helwer2021-08-201-2/+2
|
* Filetype is tlaAndrew Helwer2021-08-201-1/+1
|
* Added TLA+ grammar & queriesAndrew Helwer2021-08-201-0/+9
|
* Add jsx to javascript (#1696)Santos Gallegos2021-08-201-1/+1
| | | | This is mainly so the playground doesn't error when opening the jsx query files.
* Add HEEx language support, add missing commentstringsClay2021-08-181-0/+10
|
* feat: add support for vimThomas Vigouroux2021-08-161-0/+9
|
* Update new query and parser for zigmaxxnino2021-08-111-2/+3
|
* CI: fix update lockfile jobSantos Gallegos2021-08-081-3/+7
| | | | Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1661#issuecomment-894722369
* feat: allow 'revision' override in parser config (#1661)Munif Tanjim2021-08-071-11/+28
|