aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
Commit message (Collapse)AuthorAge
* feat(gen_help_html.lua): adapt to new parserJustin M. Keyes2022-09-28
| | | | | - adapt to parser changes from https://github.com/vigoux/tree-sitter-vimdoc/pull/16 - numerous other generator improvements
* vim-patch:9.0.0604: luacheckrc file is not recognized (#20371)ObserverOfTime2022-09-27
| | | | | Problem: Luacheckrc file is not recognized. Solution: Use lua filetype for luacheckrc. (closes vim/vim#11236) https://github.com/vim/vim/commit/49c311c9b18e18c05f93728d1f8a552923a18423
* vim-patch:9.0.0602: new TypeScript extensions are not recognizedChristian Clason2022-09-27
| | | | | | Problem: New TypeScript extensions are not recognized. Solution: Recognize .mts and .cts files. (closes vim/vim#11237) https://github.com/vim/vim/commit/7fc6c0e4dab4e80b9806a973936af54276468513
* vim-patch:9.0.0600: GYP files are not recognizedChristian Clason2022-09-27
| | | | | | Problem: GYP files are not recognized. Solution: Recognize GYP files. (closes vim/vim#11242) https://github.com/vim/vim/commit/d32474229213276c64cb293885a975dcb406fbc9
* vim-patch:9.0.0599: latexmkrc files are not recognizedChristian Clason2022-09-27
| | | | | | Problem: Latexmkrc files are not recognized. Solution: Use Perl filetype for latexmkrc files. (closes vim/vim#11241) https://github.com/vim/vim/commit/cde031938537970938437cdbb235bc0da755ae4a
* fix(docs): invalid :help links #20345Justin M. Keyes2022-09-25
| | | | | Fix those naughty single quotes. closes #20159
* Merge #20331 refactor(treesitter)!: rename x_position => x_posJustin M. Keyes2022-09-25
|\
| * refactor(treesitter): rename x_position => x_posJustin M. Keyes2022-09-25
| | | | | | | | | | "pos" has a long precedent as "position" in vim, and there is no reason to use a verbose name here.
* | vim-patch:9.0.0583: only recognizing .m3u8 files is inconsistent (#20342)Christian Clason2022-09-25
|/ | | | | Problem: Only recognizing .m3u8 files is inconsistent. Solution: Also matc .m3u files. (issue vim/vim#11204) https://github.com/vim/vim/commit/b9725bc7f6427654eb4e35874034b0ec1b6b96b3
* vim-patch:9.0.0566: Nim files are not recognized (#20317)Christian Clason2022-09-24
| | | | | Problem: Nim files are not recognized. Solution: Add patterns for Nim files. (Nbiba Bedis, closes vim/vim#11205) https://github.com/vim/vim/commit/9fd1583c839c5e43b0d48ec815a79005a2364776
* fix(lsp): create missing directory before creating file (#19835)shaunsingh2022-09-24
| | | Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net>
* vim-patch:9.0.0562: HSL playlist files are not recognized (#20307)Christian Clason2022-09-24
| | | | | | Problem: HSL playlist files are not recognized. Solution: Add a pattern to recognize HSL palylist files. (Benoît Ryder, closes vim/vim#11204) https://github.com/vim/vim/commit/35fdd9a67d73d4750152c419d4193ebb6b6d6eee
* fix(lsp): use correct function name in deprecated message (#20308)Mike2022-09-23
| | | fix: use correct function name in deprecated message
* Merge pull request #20103 from lewis6991/refactor/vim_optLewis Russell2022-09-22
|\
| * refactor(vim.opt): de-nest codeLewis Russell2022-09-09
| |
| * refactor(vim.opt): use local function syntaxLewis Russell2022-09-09
| |
| * refactor(vim.opt): optimize append/prepend/removeLewis Russell2022-09-09
| |
| * refactor(vim.opt): dry up and tidyLewis Russell2022-09-09
| |
| * refactor(vim.opt): remove value_mutator()Lewis Russell2022-09-09
| |
| * refactor(vim.opt): unify vim.bo/wo buildingLewis Russell2022-09-09
| |
| * refactor(vim.opt): remove make_meta_accessor()Lewis Russell2022-09-08
| |
| * refactor(vim.opt): simplify get_option_metatypeLewis Russell2022-09-08
| |
| * refactor(vim.opt): replace _setup with lazy tableLewis Russell2022-09-08
| |
| * refactor(vim.opt): remove enumsLewis Russell2022-09-08
| |
| * refactor(vim.opt): remove del argLewis Russell2022-09-08
| |
* | feat(filetype): expand environment variables in filetype patterns (#20145)Jonas Strittmatter2022-09-21
| |
* | fix(lsp): out of bounds error in lsp.util.apply_text_edits (#20137)ofwinterpassed2022-09-20
| | | | | | Co-authored-by: Jonas Strittmatter <40792180+smjonas@users.noreply.github.com>
* | vim-patch:9.0.0510: Chatito files are not recognized (#20260)Christian Clason2022-09-20
| | | | | | | | | | Problem: Chatito files are not recognized. Solution: Add a pattern for Chatito files. (closes vim/vim#11174) https://github.com/vim/vim/commit/7c046ae99ba85a4fdf1a546157e2ed6f12b79ea6
* | feat(lua): move compat module from runtime to test (#20257)Lewis Russell2022-09-20
| |
* | docs(lua): opts in `vim.keymap.{set,del}` can be optional (#20255)Lewis Russell2022-09-20
| |
* | fix(lsp): support `false` result in handlers (#20252)Mathias Fußenegger2022-09-20
| | | | | | Closes https://github.com/neovim/neovim/issues/20111
* | vim-patch:9.0.0497: LyRiCs files are not recognized (#20239)Christian Clason2022-09-18
| | | | | | | | | | Problem: LyRiCs files are not recognized. Solution: Add a pattern to detect LyRiCs files. (closes vim/vim#11155) https://github.com/vim/vim/commit/65ee49decf5677690cd695d5d288e39344965fff
* | vim-patch:9.0.0479: in :def function all closures in loop get the sam… ↵Christian Clason2022-09-16
| | | | | | | | | | | | | | | | | | | | | | (#20220) vim-patch:9.0.0479: in :def function all closures in loop get the same variables Problem: In a :def function all closures in a loop get the same variables. Solution: Use a separate list of variables for LOADOUTER and SAVEOUTER. https://github.com/vim/vim/commit/1aea184a0dc558a222cc5bcbaad9ab0fd700c7b9 (note: patch description is wrong)
* | fix(treesitter): return full metadata for get_captures_at_position (#20203)Christian Clason2022-09-16
| | | | | | | | | | | | | | | | fix(treesitter): get_captures_at_position returns metadata Return the full `metadata` table for the capture instead of just the priority. Further cleanup of related docs.
* | fix(diagnostic): populate data key in DiagnosticChanged autocmd in reset ↵Gregory Anders2022-09-15
| | | | | | | | | | (#20207) Follow up to #20173.
* | docs(treesitter): clean up and update treesitter.txt (#20142)Christian Clason2022-09-14
| | | | | | | | | | * add type annotations to code * clean up and expand static documentation * consistent use of tags for static and generated docs
* | feat(fs): extend fs.find to accept predicate (#20193)Mathias Fußenegger2022-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | Makes it possible to use `vim.fs.find` to find files where only a substring is known. This is useful for `vim.lsp.start` to get the `root_dir` for languages where the project-file is only known by its extension, not by the full name. For example in .NET projects there is usually a `<projectname>.csproj` file in the project root. Example: vim.fs.find(function(x) return vim.endswith(x, '.csproj') end, { upward = true })
* | feat(diagnostic): pass diagnostics as data to DiagnosticChanged autocmd (#20173)Gregory Anders2022-09-13
| |
* | Merge pull request #20141 from vigoux/ts-self-inheritsChristian Clason2022-09-12
|\ \ | | | | | | | | | | | | fix(treesitter): prevent endless loop on self-inheritence docs(treesitter): suggest using extends to extend queries
| * | fix(treesitter): prevent endless loop on self-inheritenceThomas Vigouroux2022-09-11
| | | | | | | | | | | | Fixes #20139
* | | vim-patch:9.0.0448: SubRip files are not recognized (#20167)Christian Clason2022-09-12
| | | | | | | | | | | | | | | Problem: SubRip files are not recognized. Solution: Add a pattern for SubRip. (closes vim/vim#11113) https://github.com/vim/vim/commit/5a4eb55122e45444d3a6c56ce108ce29bc8e52ab
* | | vim-patch:9.0.0443: blueprint files are not recognized (#20155)Christian Clason2022-09-11
|/ / | | | | | | | | Problem: Blueprint files are not recognized. Solution: Add a pattern for blueprint files. (Gabriele Musco, closes vim/vim#11107) https://github.com/vim/vim/commit/cce82a55b8105560a2ef724999c856966337b48e
* | fix(lsp): schedule removal of client object (#20148)Gregory Anders2022-09-10
| | | | | | | | | | | | | | | | | | | | The execution of the LspDetach autocommands in the LSP client's on_exit function are scheduled on the event loop to avoid making API calls in a fast context; however, this means that by the time the LspDetach autocommands finally run the client object has already been deleted. To address this, we also schedule the deletion of the client on the event loop so that it is guaranteed to occur after all of the LspDetach autocommands have fired.
* | vim-patch:9.0.0434: gitignore files are not recognized (#20143)Christian Clason2022-09-10
| | | | | | | | | | Problem: gitignore files are not recognized. Solution: Add patterns for the gitignore filetype. (closes vim/vim#11102) https://github.com/vim/vim/commit/9ba2786f15f0b53a90fd221832a5bedfc6dbfe20
* | vim-patch:9.0.0427: Drupal theme files are not recognized (#20138)Christian Clason2022-09-09
| | | | | | | | | | | | Problem: Drupal theme files are not recognized. Solution: Use php filetype for Drupl theme files. Remove trailing spaces. (Rodrigo Aguilera, closes vim/vim#11096) https://github.com/vim/vim/commit/8995c4cd4e697141faf74da9a87e0c1221bfb161
* | vim-patch:9.0.0424: gitattributes files are not recognized (#20134)Christian Clason2022-09-09
| | | | | | | | | | Problem: gitattributes files are not recognized. Solution: Add patterns to match gitattributes files. (closes vim/vim#11085) https://github.com/vim/vim/commit/7d56cfc861e57145f003315efd835cf5dfd5b145
* | docs(lsp): update rpc.start stdio limitations (#20120)Mathias Fußenegger2022-09-08
| |
* | fix(lsp): when buffer detach remove buffer from client attached buffers (#20081)Raphael2022-09-08
|/ | | Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net>
* vim-patch:9.0.0417: Jsonnet files are not recognized (#20119)Christian Clason2022-09-08
| | | | | | Problem: Jsonnet files are not recognized. Solution: Add a pattern for Jsonnet files. (Cezary Drożak, closes vim/vim#11073, closes vim/vim#11081) https://github.com/vim/vim/commit/2a4c885d54171f68ec2c2d6eb4ae281c7fefb802
* feat(lsp): add range option to lsp.buf.format (#19998)Mathias Fußenegger2022-09-08
|