Commit Graph

70 Commits

Author SHA256 Message Date
0e41532fe7 Update from 1fc17562 to 675ab49e:
- lua: uncomment list of lexer specific styles in default theme
  - lua: Serve viewport dimensions in viewport table
  - Emit an event (ui_draw) immediately before drawing the screen
  - Add Lua function to Win for directly editing cell styling by position
  - lua: small filetype/style setting cleanup
2024-06-27 15:17:31 +02:00
51a38918b9 Update from ad03feb0 to 1fc17562:
- lua: Report viewport lines and bytes in one table
2024-06-27 15:17:31 +02:00
c7d1a4d410 Update from 025ab0f5 to ad03feb0:
- vis-cmd: silence gcc warning & remove strlen call
2024-06-27 15:17:31 +02:00
fb2b67d098 Update from 6f537f30 to 025ab0f5:
- ci: fix macOS runner
  - Disable reverse with "notreverse" in style definitions
  - Add a Lua constant for UI_STYLE_LEXER_MAX
  - plugins/filetype: fix javascript/typescript detection
2024-06-27 15:17:31 +02:00
f9ed7c48b6 Throw away gh#martanne/vis!1173 and my fix for it. 2024-06-27 15:17:31 +02:00
5477ec7967 Merge the tests/ submodule. 2024-06-27 15:17:31 +02:00
dfc779d6e1 Update from 49442e51 to 6f537f30:
- lua: update default themes
  - lua: cache loaded lexers
  - lua: update default plugins to work with scintillua 6.2
  - Get lexers from the subdirectory of directories on the path.
  - update lexers to orbitalquark/scintillua@b789dde
  - ui: refactor style handling
2024-06-27 15:17:31 +02:00
d076180136 Update from faa4089a to 49442e51:
- Add parentheses around '&&' within '||'.
  - complete-word: restore mode to INSERT on exit
2024-06-27 15:17:31 +02:00
45fee59391 Update from 8fccd1bb to faa4089a:
- Fix typos
2024-06-27 15:17:31 +02:00
dcce24f0dc Add gh#martanne/vis!1173 to devel for testing. 2024-06-27 15:17:31 +02:00
4766abf8e6 Update from 4d97ccc6 to 8fccd1bb:
- filetype.lua: add typst detection
2024-06-27 15:17:31 +02:00
d839054e7b Update from 3d1c3c15 to 4d97ccc6:
- lua: filetype: add JSX and Typescript extensions
2024-06-27 15:17:31 +02:00
93f8643e10 Update from 004800e3 to 3d1c3c15:
- Support selection of primary or regular clipboard (wayclip)
2024-06-27 15:17:31 +02:00
c03914a65f Update from 64c0092d to 004800e3:
- lua: complete-word: use internal regex for splitting words
2024-06-27 15:17:31 +02:00
2a6559a72a Update from d3e4af1f to 64c0092d:
- Introduce new `modula2` and `modula3` file types.
2024-06-27 15:17:31 +02:00
33493b95eb Update from 34e69620 to d3e4af1f:
- Replace use of tr(1) with awk(1).
2024-06-27 15:17:30 +02:00
44a2e04162 Update from 5cd6d033 to 34e69620:
- use correct apostrophe in error message
  - allow disabling of statusbar
2024-06-27 15:17:30 +02:00
57751a99a5 Add testing support of the patch to avoid non-Unicode aware tr(1). 2024-06-27 15:17:30 +02:00
69b9132ac4 Update from 8ff0bea5 to 5cd6d033:
- fix bug report template
  - add github issue templates
  - lua: fix deprecated name for change-256colors
2024-06-27 15:17:30 +02:00
c5e19caf43 Update from 0f7ddc17 to 8ff0bea5:
- complete-filename: include '{' in leading delimiter pattern
  - build: update alpine in docker build to version 3.19
2024-06-27 15:17:30 +02:00
32db038ddb Update from f1abd792 to 0f7ddc17:
- lua: drop redrawtime option
  - lua: filetype: use alt_name field to alias to other lexers
2024-06-27 15:17:30 +02:00
8c7baa35ca Update from 7d0baa4b to f1abd792:
- Add ansi escaping values and theming keyword for dimmed text
  - Recognize also Python type stub files.
2024-06-27 15:17:30 +02:00
12a39a991b Update from 1e64b1c1 to 7d0baa4b:
- luadoc: fix broken link and add links between vis/win.options
  - destroy the correct subprocess
2024-06-27 15:17:30 +02:00
aae0d5c935 Add rebased patch from gh#martanne/vis!1154. 2024-06-27 15:17:30 +02:00
79f0a371ff Update from 18c72a15 to 1e64b1c1:
- lua: refactor complete-filename plugin
2024-06-27 15:17:30 +02:00
0bf3fff60c Update from 045ef7a1 to 18c72a15:
- sam: reject invalid ranges for cmd_extract ("x"/"y")
2024-06-27 15:17:30 +02:00
b61369782d Fix lock with :2x/foo/<cr>. 2024-06-27 15:17:30 +02:00
3358742279 Rebase new update of lexers 2024-06-27 15:17:30 +02:00
088a137586 Update from be89a645 to 045ef7a1:
- apply configured foreground to matching pair
  - apply configured foreground to selections
2024-06-27 15:17:30 +02:00
3cedd80c3b Update from aa18162e to be89a645:
- view: skip empty cells before applying a style
2024-06-27 15:17:30 +02:00
c55b8c912c Update from d7cd42e6 to aa18162e:
- vis_pipe: correctly return non-zero exit status
2024-06-27 15:17:29 +02:00
c58dbfaa9c Update from cbaa0d8c to d7cd42e6:
- ci: test: update submodule
  - revert c22b2c2 & 364d212
2024-06-27 15:17:29 +02:00
a2d999c41e Update from 3d83d771 to cbaa0d8c:
- lua: filetype: fix fstab detection
  - fix literal makefile name detection
2024-06-27 15:17:29 +02:00
8242f58474 Update from 312a16ea to 3d83d771:
- vis-lua: fail when mapping a key to an invalid handler type
2024-06-27 15:17:29 +02:00
12e0697cd5 Another rebase of updated lexers on the top of the current
master (merge of update-lexers branches from the rnpnr's repo).
2024-06-27 15:17:29 +02:00
145766d349 Update from 2dcd9ac8 to 312a16ea:
- vis-complete: also split on `\`
2024-06-27 15:17:29 +02:00
5539f56721 Update from dac6a7e5 to 2dcd9ac8:
- filetype.lua: add common *roff extensions
  - vis-menu.c: add space for terminating NUL byte
  - vis-subprocess.c: remove unnecessary NULL check
2024-06-27 15:17:29 +02:00
64c85cb2a2 Update from 7367ea8a to dac6a7e5:
- vis-complete: use hand picked set of characters for word splitting
  - vis-single: respect TMPDIR
2024-06-27 15:17:29 +02:00
d69981edb1 Update from de315f87 to 7367ea8a:
- filetype: add psm1 and search for xml using mime type
  - vis-subprocess.c: fix signature of new_process_in_pool()
2024-06-27 15:17:29 +02:00
e799c27e16 Update to 0.8+git.1693167778.de315f87:
- Make expandtab option window-local
  - Make tabwidth option window-local
  - lua: make sure lpeg is in fact optional
  - vis-lua.c: silence warning about implicit conversion
  - support old option names but mark as deprecated
2024-06-27 15:17:29 +02:00
1de54ac7d6 Update to 0.8+git.1692979777.2c5e6928:
- configure: also check for lua-5.4
  - lua api: fix a couple typos in process_response()
    documentation
  - Implementation of the non-blocking process running Lua API
  - sam.c: rename a number of options to match lua api
  - Lua API: access and set all available options
2024-06-27 15:17:29 +02:00
c47cace6e4 Update to 0.8+git.1692310337.09ba77aa:
- build: don't use the '|' GNU extension
  - build: don't pollute base dir with .o and .d files
2024-06-27 15:17:29 +02:00
c754e7e556 Update to 0.8+git.1692198809.3134de12:
- build: stop setting _POSIX_C_SOURCE
  - build: support incremental rebuilds
2024-06-27 15:17:29 +02:00
a4aaebfc17 Update to 0.8+git.1692023996.711447a:
- vis-complete: handle non-ascii text
  - vis-menu: try to preserve valid Unicode points
2024-06-27 15:17:29 +02:00
aab7a25772 Update to 0.8+git.1691882787.adc803f:
ci: freebsd: use lua 5.3 like the others
2024-06-27 15:17:29 +02:00
4348700171 Building with all proposed changes from scintillua_6.2 tag included. 2024-06-27 15:17:29 +02:00
cacd721eef Don't make docs outside of Tumbleweed. 2024-06-27 15:17:28 +02:00
b941d01e76 - And back ... 2024-06-27 15:17:28 +02:00
cfc203e759 - Temporary switch to master 2024-06-27 15:17:28 +02:00
48470ed0ad - Update to 0.8+git.1691671026.f4840ed:
- vis-lua.c: stop obj_ref_get() from leaving the lua stack modified
2024-06-27 15:17:28 +02:00