aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add shell insert commands to typable and config (#2589)Termina942022-06-05
| | | | | | | * Add shell insert commands to typable and config * generate docs Co-authored-by: Dean Revell <revell@gmail.com>
* Passing extra formatting options to LSPs (#2635)farwyler2022-06-05
| | | | | | | | | | | | | * allows passing extra formatting options to LSPs - adds optional field 'format' to [[language]] sections in 'languages.toml' - passes specified options the LSPs via FormattingOptions * cleaner conversion of formatting properties * move formatting options inside lsp::Client * cleans up formatting properties merge
* Fix crash due to cycles when replaying macros (#2647)gavynriebau2022-06-05
| | | | | | | | In certain circumstances it was possible to get into an infinite loop when replaying macros such as when different macros attempt to replay each other. This commit adds changes to track which macros are currently being replayed and prevent getting into infinite loops.
* ensure :quit and :quit! take no arguments (#2654)Michael Davis2022-06-05
|
* Avoid modifying jumplist until jumping to ref (#2670)yzwduck2022-06-05
| | | | | | When a goto command is cancelled, the jumplist should remain unchanged. This commit delays saving the current selection to the jumplist until jumping to a reference.
* Fix panic on close last buffer (#2367) (#2658)gavynriebau2022-06-05
| | | | | | | | | | | | | | * Fix panic on close last buffer (#2367) In certain circumstances it was possible to cause a panic when closing buffers due to some mishandling of view document history. A change has been made to delete removed documents from the history of accessed documents for each view. The ensures we don't attempt to jump to a deleted document by mistake. * Move remove document code into View function 'remove_document' * Replace 'view.jumps.remove' call with 'view.remove_document' call
* Update selection style of Night Owl (#2668)nosa2022-06-04
|
* Update keymap docs for window swapping (#2659)nosa2022-06-03
|
* add tree-sitter-jsdoc (#2650)Michael Davis2022-06-03
|
* add tree-sitter-edoc (#2640)Michael Davis2022-06-02
| | | | | | | * add tree-sitter-edoc * fix escape character capture in markdown queries * add field negation operator "!" to tsq highlights
* append `set_line_ending` to document history (#2649)Kirawi2022-06-02
|
* Ignore SendErrors when handling grammars (#2641)Frojdholm2022-06-02
| | | | | | | When handling grammars, fetching and building is done in a thread pool. Results are communicated over channels and the receiving channel is closed on first error. This causes subsequent sends to fail causing a mess in stderr. This ignores all SendErrors causing only the first error to be printed.
* fix: lsp: be more defensive about URI conversionsBlaž Hrastnik2022-06-02
|
* fix: lsp: be more defensive about URI conversionsBlaž Hrastnik2022-06-02
|
* fix: lsp: Sort edits by start range, Omnisharp sends them in reverseBlaž Hrastnik2022-06-02
|
* catpuccin ui.popup should be a different color from ui.background (#2644)Michael Zeller2022-06-01
|
* CPON parser supports unsigned int (#2643)Fanda Vacek2022-06-01
| | | Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
* Improve Readability (#2639)Ryan Russell2022-06-01
|
* Solarized Light: Fixing menu colors and adding English translation (#2626)Ben Lee-Cohen2022-05-31
|
* Fix unwrap error when undo after `shell_append_output` (#2625)Andrey Tkachenko2022-05-31
|
* Elixir: inject Markdown into docs, remove h sigil HEEx injection (#2619)Clay2022-05-31
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* feat(lang): Update Nix grammar & improve queries (#2472)Timothy DeHerrera2022-05-30
|
* Update to ropey 1.5Blaž Hrastnik2022-05-30
|
* fix: Remove empty scratch buffer from jumplists when removing itBlaž Hrastnik2022-05-29
| | | | Fixes #1238
* Adjust colors in tokyonight themes (#2606)Paul Graydon2022-05-29
|
* illumos linker doesn't currently have -z relro (#2602)Michael Zeller2022-05-29
|
* Update from-source install instruction in README (#2603)Marcin Puc2022-05-29
|
* Remove unnecessary `unwrap` (#2599)Hugo2022-05-29
| | | | `strip_prefix` will itself check whether the string starts with the prefix, so the extra call to `starts_with` was unnecessary.
* Bump dependencies, allow retain_mut for nowBlaž Hrastnik2022-05-29
|
* mention the C++ compiler in the grammar build failure message (#2597)Michael Davis2022-05-29
| | | | | | | Earlier in the builder we enable C++ (`.cpp(true)`) but only mention the C compiler in the build failure message. Some grammars that have C++ external scanners can provoke build failures in this step if a C++ compiler isn't installed, so mentioning it in the error message should help out debugging.
* Add Vlang tree-sitter in the languages.toml (#2526)pancake2022-05-28
| | | | Co-authored-by: pancake <pancake@nopcode.org> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Fix link to `pop-dark` in `CHANGELOG.md` (#2594)booklearner2022-05-28
|
* Fix the VERSION fileBlaž Hrastnik2022-05-28
|
* mention the requirement of C++ compiler for building grammar in doc (#2592)nitish-172022-05-28
|
* Fix release actionBlaž Hrastnik2022-05-28
|
* add 22.05 changelog notes (#2584)Michael Davis2022-05-28
|
* add section on syntax tree motions to the usage docs (#2568)Michael Davis2022-05-26
|
* Changing Macro color to avoid color confusionBen Lee-Cohen2022-05-25
| | | | | I noticed that in Rust, `println!`being a macro, it matched the color of string literals. This was visually confusing to me, so I checked what the nvim catpuccin theme (https://github.com/catppuccin/nvim) does. While it is pretty different, it does use different colors for strings and all function types: https://share.cleanshot.com/RLG2y1 I don't know if blue or red makes more sense given the other syntax choices, but wanted to propose this change cc @IsotoxalDev
* update Erlang grammar and queriesMichael Davis2022-05-25
| | | | | | | | | | | | | The update to the grammar itself covers the case where the document is a single expression without a trailing newline such as "min(A, B)". A small change to the parser now parses these expressions correctly which improves the display of the function head in the signature help popup. The update to the queries marks 'andalso', 'orelse', 'not', etc. as `@keyword.operator` which improves the look - it looks odd to see operators that are words highlighted the same as tokens like '->' or '=:='.
* update Gleam grammar and queriesMichael Davis2022-05-25
| | | | | | | | | | | | | | | | | | | | | | | With respect to the queries: The locals scope for functions was not large enough, so a function's parameter could outlive the function body. To fix it, we just widen the scope to the `function` node. See also https://github.com/gleam-lang/tree-sitter-gleam/issues/25 With respect to the parser: An external scanner has been added that fixes the parsing of strings. Previously, a comment inside a string would act like a comment rather than string contents. See also https://github.com/gleam-lang/tree-sitter-gleam/issues/14#issuecomment-1129263640 A new constructor node has been added as well which makes type highlighting more fine grained. See also https://github.com/gleam-lang/tree-sitter-gleam/pull/29
* Add `parameter.around` text object queryAndrey Tkachenko2022-05-25
|
* build(deps): bump once_cell from 1.10.0 to 1.12.0dependabot[bot]2022-05-25
| | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.10.0 to 1.12.0. - [Release notes](https://github.com/matklad/once_cell/releases) - [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md) - [Commits](https://github.com/matklad/once_cell/compare/v1.10.0...v1.12.0) --- updated-dependencies: - dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): bump regex from 1.5.5 to 1.5.6dependabot[bot]2022-05-25
| | | | | | | | | | | | | | | Bumps [regex](https://github.com/rust-lang/regex) from 1.5.5 to 1.5.6. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.5.5...1.5.6) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Basic verilog support (#2552)Andrey Tkachenko2022-05-24
|
* Add lua lsp (#2560)Erasin2022-05-24
|
* Add Catppuccin Theme (#2546)Isotoxal2022-05-24
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* nix: bump dependenciesBlaž Hrastnik2022-05-24
|
* lower MSRV to 1.57.0Michael Davis2022-05-23
| | | | | | | | This line uses the Display trait for io::ErrorKind which was stabilized in Rust 1.60.0. We can set MSRV all the way back to 1.57.0 by replacing it with a pretty-print. Closes #2460.
* check MSRV in CIMichael Davis2022-05-23
| | | | | | | | | | | | | | | | | | | It's very easy to use new rust features without realizing it since the CI and local development workflows may use the latest rust version. We try to keep some backwards compatibility with rust versions to make packaging easier for some OS-level package-managers like Void Linux's. See #1881. This change runs the "Check" step for the pinned version of rust in the rust-toolchain.toml file as well as the MSRV version in a matrix. In order to bump the MSRV, we need to edit .github/workflows/msrv-rust-toolchain.toml This commit sets the MSRV as 1.60.0 but a later child commit will reduce the MSRV back to 1.57.0. Closes #2482.
* pin the rust toolchain to 1.61.0Michael Davis2022-05-23
| | | | | | | | | | | | 1.61.0 in particular introduced new clippy lints that unexpectedly failed CI until addressed. The lints are a bit tough to fix since the toolchain action starts using new rust versions almost immediately after release, so if you aren't using rustup, you may have a hard time reproducing the lint results until your package manager updates rust. This brings an extra burden that we have to remember to make a commit/PR to update rust in CI.