Commit Graph
2222 Commits
Author SHA1 Message Date
filipp 1b1680f7b0 Fix typo 2023-06-20 15:59:09 +03:00
filipp 6cc52570ac Add missing ExCommand annotations 2023-06-20 15:59:09 +03:00
filipp 6425791ed9 Attempt to avoid broken jsons after partial compilation 2023-06-20 15:59:09 +03:00
Alex Plate 0192009482 Fix(VIM-2975): Fix the offset after the rendered docs 2023-06-15 14:25:09 +03:00
Alex Plate 7b71af9e1d Fix(VIM-2964): Fix an issue with leaking caret instance
Now I use the subscription to the disposer, but I think we can update it to the flow
2023-06-06 16:12:54 +03:00
Alex Plate 51c464f8d2 Fix out of bounds exception 2023-06-06 12:07:33 +03:00
filipp 460553d8ae Avoid dependency to annotation-processors 2023-06-06 10:42:42 +03:00
filipp cc2de42415 Moving from gorgeous YAML to good old JSON 2023-06-06 10:42:42 +03:00
filipp b31aa57d81 build.gradle.kts cleanup 2023-06-06 10:42:42 +03:00
filipp c9b9bb6cf8 Remove generated files for tests 2023-06-06 10:42:42 +03:00
filipp 434d882314 Add vimscriptfunctionannotation option 2023-06-06 10:42:42 +03:00
filipp f456e0a8dd Fix tests 2023-06-06 10:42:42 +03:00
filipp 4d907213c3 Split ex-commands in YAML 2023-06-06 10:42:42 +03:00
filipp ee704f53c7 Support lazy ex command classloading 2023-06-06 10:42:42 +03:00
filipp 74237365f1 Fix LazyVimscriptFunction 2023-06-06 10:42:42 +03:00
filipp 8aeab29303 Annotate ex-commands 2023-06-06 10:42:42 +03:00
filipp ff945e7b8a Add ExCommand annotation 2023-06-06 10:42:42 +03:00
filipp 7491d19309 Add yaml files 2023-06-06 10:42:42 +03:00
filipp 627c8a6eca Move some functions to engine 2023-06-06 10:42:42 +03:00
filipp 8094758a82 Add function providers 2023-06-06 10:42:42 +03:00
filipp f143b6ee9f Rename KSP options 2023-06-06 10:42:42 +03:00
filipp 063d3949cf Better YAML 2023-06-06 10:42:42 +03:00
filipp c1b87eba03 Annotate functions 2023-06-06 10:42:42 +03:00
filipp bae52964cd Add VimscriptFunction annotation 2023-06-06 10:42:42 +03:00
samabcde 437932cd57 VIM-1990 fix repeat delete find or till wrong MotionType 2023-06-01 10:36:28 +03:00
samabcde 4e7149c945 VIM-2615 add support to sort u command, fix natural sort issue when both string not contain number 2023-05-29 14:41:06 +03:00
Alex Plate 48b18da953 Get text object parameters from the operatorArguments 2023-05-19 10:21:18 +03:00
Alex Plate 904ca5d529 Remove argument argument from text object 2023-05-19 10:16:23 +03:00
Alex Plate 05986d017d Remove deprecated function 2023-05-19 09:52:06 +03:00
Matt Ellis 798750bf95 Use options API for more cached values 2023-05-17 10:54:13 +02:00
Matt Ellis e8d9bd551f Add helper functions to storage service 2023-05-17 10:54:13 +02:00
Matt Ellis d08ea2ee9b Introduce simple cache for parsed option values 2023-05-17 10:54:13 +02:00
Matt Ellis 52dcb2d290 Treat 'iskeyword' as a local-to-buffer option 2023-05-17 10:54:13 +02:00
Matt Ellis 4cc883f174 Refactor search helper companion to interface
Helper functions now take the editor rather than the text, ready for search to rely on per-editor options (i.e. '`iskeyword'`). Also standardises on `Int` for search parameters. While the file size is a `Long`, the editor returns a `CharSequence`, which is indexed by `Int`.
2023-05-17 10:54:13 +02:00
Matt Ellis 5a3c5bd761 Treat 'virtualedit' as a global-local option 2023-05-17 10:54:13 +02:00
Matt Ellis fd314a3288 Treat 'matchpairs' as a local option 2023-05-17 10:54:13 +02:00
filipp e4f7700044 Refactoring
Update method signatures and return types:
- Getting rid of "magic constants" (e.g. -1) and replacing them with nullable
- Replacing direction Int with Enum
- JetBrains annotations
2023-05-05 09:41:27 +03:00
filipp 2088c1ce00 Move more methods to engine 2023-05-05 09:41:27 +03:00
Alex Plate 30e69e13fd Update kotlin version to 1.8.21 2023-04-26 10:57:54 +03:00
dependabot[bot] 17346c255e Bump org.jetbrains:annotations from 23.0.0 to 24.0.1
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 23.0.0 to 24.0.1.
- [Release notes](https://github.com/JetBrains/java-annotations/releases)
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JetBrains/java-annotations/compare/23.0.0...24.0.1)

---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 10:46:14 +03:00
Matt Ellis 29bd7cbe6e Update note to include how to add an option 2023-04-26 10:26:06 +03:00
Matt Ellis a51fc9c612 Add extra notes about the history of refactorings 2023-04-26 10:26:06 +03:00
Matt Ellis 957874ce2b Remove unused @JvmField annotations 2023-04-26 10:26:06 +03:00
Matt Ellis 330d92116c Refine inheritance of IJ specific option classes 2023-04-26 10:26:06 +03:00
Matt Ellis 899adfc1b0 More refactoring to use new API 2023-04-26 10:26:06 +03:00
Matt Ellis 23535a6ad5 Remove OptionValueAccessor 2023-04-26 10:26:06 +03:00
Matt Ellis e8b7f00370 Remove accessor from new API 2023-04-26 10:26:06 +03:00
Matt Ellis 3f2c5070ee Migrate local option access to new API 2023-04-26 10:26:06 +03:00
Matt Ellis a2352525c5 Migrate global option access to new API
Also fixes some incorrect usages of local options as global, e.g. 'ideajoin' and 'scroll'. There are some options that should be local that are only ever accessed at global scope. These need fixing in the future, e.g. 'iskeyword', 'matchpairs' and 'virtualedit'
2023-04-26 10:26:06 +03:00
Matt Ellis 50384a526b Introduce option accessor delegated properties
Also migrates tests to use new properties
2023-04-26 10:26:06 +03:00