Vasilij Schneidermann
7b5ce294fb
Set `comment-end' to make hide-show heuristic work
2024-03-17 17:02:05 +01:00
Shohei YOSHIDA
5b58248ab2
Merge pull request #111 from yoshiki/add-test-110
...
Add an unit test for moving pages
2023-11-22 11:01:59 +09:00
Shohei YOSHIDA
9fb85886cc
Add an unit test for moving pages
2023-11-20 16:21:24 +09:00
Shohei YOSHIDA
aa7f04d8aa
Merge pull request #110 from canatella/patch-1
...
Allow page navigation
2023-11-20 14:46:41 +09:00
Damien Merenne
701b2ec4b8
Update page-delimiter to handle YAML directive
...
YAML document header can have directives embedded in it. This commits updates the page-delimiter variable to handle them.
2023-11-16 08:25:48 +00:00
Damien Merenne
a2dda5fa88
Allow page navigation
...
Emacs support navigating between page using `C-x [` and `C-x ]` which maps to `backward-page` and `forward-page`. This commit sets `page-delimiter` to the YAML document delimiter `---` to map Emacs notion of page to YAML documents.
See https://yaml.org/spec/1.0/#syntax-stream-doc .
2023-11-15 18:24:34 +00:00
Vasilij Schneidermann
23395dfcf0
Merge pull request #109 from snogge/release-0.0.16
...
Bump version and update changes
2023-10-03 13:42:39 +02:00
Ola Nilsson
6bb9e7f6e1
Bump version and update changes
2023-09-20 00:02:27 +02:00
Shohei YOSHIDA
13728b4b1b
Merge pull request #108 from tarsiiformes/typo
...
Fix typo
2023-07-14 13:40:11 +09:00
Jonas Bernoulli
e9f3600dbf
Fix typo
2023-07-14 03:04:25 +02:00
Vasilij Schneidermann
b153150e0e
Merge pull request #105 from Hi-Angel/fix-indentation-mutability
...
Do not modify the buffer in `yaml-indent-line` unless necessary
2023-03-29 09:23:42 +02:00
Konstantin Kharlamov
37da7fb9be
Do not modify the buffer in `yaml-indent-line` unless necessary
...
Calling (yaml-indent-line) for the first time on a line that the
function already deems indented correctly results in the buffer
getting modified even though there was nothing to modify. This is
because the function unconditionally removes space at the beginning of
line and then re-indents text back.
Fix this by replacing the `bol` + `delete-horizontal-space` + `indent-to`
combination with a call to `indent-line-to` which does the right
thing.
2023-03-28 23:15:50 +03:00
Vasilij Schneidermann
3fcb36d603
Merge pull request #103 from yoshiki/add-remaining-highlighting-tests
...
Add remaining highlighting tests
2022-10-23 12:59:07 +02:00
Vasilij Schneidermann
a00de52c4a
Add remaining highlighting tests
2022-10-23 10:48:43 +02:00
Vasilij Schneidermann
3fedb4ee38
Merge pull request #102 from yoshiki/avoid-test-offsets
...
Avoid test offsets
2022-10-23 09:04:30 +02:00
Vasilij Schneidermann
9c26d32153
Use separate font-lock test function
2022-10-22 16:33:55 +02:00
Vasilij Schneidermann
45b232df41
Correct docstring
2022-10-22 16:31:12 +02:00
Vasilij Schneidermann
fbf8a95b0d
Make code less imperative
2022-10-22 15:20:40 +02:00
Shohei YOSHIDA
141b85f9e0
Merge pull request #101 from yoshiki/support-ci
...
Add unit test and github actions configuration
2022-10-22 18:20:55 +09:00
Shohei YOSHIDA
ab695983d0
more fix
2022-10-22 18:11:36 +09:00
Shohei YOSHIDA
85f19ca45d
Fix by review
2022-10-22 18:09:02 +09:00
Shohei YOSHIDA
ebeb27cbbc
Add unit test and github actions configuration
2022-10-22 17:28:22 +09:00
Shohei YOSHIDA
211db42f5a
Simplify regular expression
2022-10-22 17:23:19 +09:00
liuyinz
e859daf525
fix : #96 highlight error with inline comments
2022-10-22 17:21:55 +09:00
Vasilij Schneidermann
9969207f60
Merge pull request #99 from syohex/byte-compile-warnings
...
Fix byte-compile warnings
2022-09-03 20:21:43 +02:00
Shohei YOSHIDA
2f913f0657
Fix byte-compile warnings
...
point-at-bol and point-at-eol are obsoleted since Emacs 29.1.
2022-08-30 16:31:57 +09:00
Vasilij Schneidermann
535273d5a1
Merge pull request #95 from phst/readme
...
Update license text in README
2022-01-13 19:30:11 +01:00
Philipp Stephani
8720a5cc2b
Update license text in README
2022-01-12 20:09:32 +01:00
Vasilij Schneidermann
a79d2a7b92
Merge pull request #94 from skangas/gplv3
...
Upgrade license to GPLv3
2022-01-04 16:03:40 +01:00
Stefan Kangas
5b72cb75f8
Upgrade license to GPLv3
2022-01-04 15:19:20 +01:00
Vasilij Schneidermann
0ca35e8a0e
Merge pull request #87 from tarsiiformes/indentation
...
Fix indentation
2021-12-30 12:26:35 +01:00
Vasilij Schneidermann
b706947366
Ensure tabs are not used for indenting source code
2021-12-30 12:26:03 +01:00
Vasilij Schneidermann
749a74cd42
Merge pull request #93 from minad/lexical-binding
...
Turn on lexical-binding
2021-12-30 11:31:21 +01:00
Daniel Mendler
ba291754ff
Turn on lexical-binding
...
This helps the gccemacs native compiler and improves
compiler warnings (unused variables).
2021-12-29 21:06:49 +01:00
Vasilij Schneidermann
63b637f846
Merge pull request #88 from scop/feature/magic-mode-alist
...
Add magic-mode-list entry
2021-08-08 13:22:24 +02:00
Ville Skyttä
f49fb81a83
Add magic-mode-list entry
...
https://yaml.org/spec/1.2/spec.html#ns-yaml-directive
2021-08-01 10:42:42 +03:00
Jonas Bernoulli
913f672103
Fix indentation
2021-06-15 19:25:49 +02:00
Vasilij Schneidermann
3a57058468
Pacify package-lint
2021-05-08 18:41:22 +02:00
Vasilij Schneidermann
fc5e1c58f9
Bump version, summarize changes
2020-11-09 11:26:13 +01:00
Vasilij Schneidermann
831ef3a04e
Merge pull request #81 from strutt/master
...
Fix propertization for sequences of mappings with literal block
2020-10-31 15:48:17 +01:00
Ben Strutt
04c30eabb5
Fix propertization for lists of dicts with literal block
...
previously_broken_but_now_correct:
- bash: |
echo "Properties following this block were broken"
displayName: "Incorrectly propertized with face 'yaml-block-literal"
2020-08-20 16:36:44 +01:00
Vasilij Schneidermann
68fecb5f0d
Exclude newline from `yaml-nested-map-re`
2020-07-25 20:36:39 +02:00
Vasilij Schneidermann
34648f2502
Add comment test file
...
See #65
2020-05-18 11:15:12 +02:00
Vasilij Schneidermann
00ac9e5108
Merge pull request #67 from HParker/fix-comment-indent
...
Fix indent after comment line
2020-05-18 11:14:43 +02:00
Vasilij Schneidermann
0b33131664
Merge pull request #78 from dgutov/spf-correctness
...
Hopefully last follow-up
2020-05-12 23:41:10 +02:00
Dmitry Gutov
fea2fb069b
Mention the bug report
2020-05-13 00:28:12 +03:00
Dmitry Gutov
add6156a65
yaml-mode-syntax-propertize-function: Clear ppss cache
...
In the one case where we still end up making it invalid.
No problem examples (haven't managed to trigger one), but this is the
"correct" thing to do.
2020-05-12 01:43:15 +03:00
Vasilij Schneidermann
41adb32b88
Merge pull request #77 from dgutov/single-quote-fixup
...
Don't freeze on unclosed strings
2020-05-11 11:52:16 +02:00
Dmitry Gutov
ed7ec2e83c
Don't freeze on unclosed strings
2020-05-11 03:01:23 +03:00
Vasilij Schneidermann
9e8362dc55
Merge pull request #76 from dgutov/spf-speedup
...
Speed up syntax-propertize-function in files with large JSON strings
2020-05-10 21:21:31 +02:00