Alyssa Ross
c409bce579
Recognize Ruby identifiers beginning with _
...
:_foo, @_foo, $_foo, and { _foo: 1 } are all valid Ruby syntax, but were
not recognized by the highlighter.
2019-03-15 16:24:44 +00:00
Maxime Coste
bfc2a178f2
Merge remote-tracking branch 'alexherbo2/kakrc-add-force-commands'
2019-03-13 06:51:16 +11:00
Maxime Coste
017b7c970e
Merge branch 'patch-1' of https://github.com/andreyorst/kakoune
2019-03-06 22:51:40 +11:00
Maxime Coste
55c60153df
Merge remote-tracking branch 'alexherbo2/rc-markdown'
2019-03-06 22:49:46 +11:00
Andrey Orst
81fc15057c
Add KDE Konsole terminal to termcmd
...
Konsole doesn't work well with non-default Kakoune themes, so I've put it last in the list, but in case when no other terminal is available it's good to have it in the list for launching non-kakoune things, like tig
2019-03-06 12:58:57 +03:00
Olivier Perret
dc8481776c
Various fixes to iterm.kak
...
The 'terminal' alias wasn't automatically setup
Missing '\' in sed calls
Descriptions of vertical and horizontal split was swapped around
2019-03-05 21:00:01 +01:00
Alex Leferry 2
7c9053cdec
Remove invalid Markdown syntax
2019-03-05 15:07:17 +01:00
Alex Leferry 2
35ace812df
Markdown: Highlight TOML code blocks
2019-02-18 07:42:49 +01:00
Maxime Coste
6da4761065
Merge remote-tracking branch 'eraserhd/lisp-indentwidth'
2019-02-11 21:58:06 +11:00
Maxime Coste
4636440622
Merge remote-tracking branch 'laelath/c-family-else-indent'
2019-02-11 21:53:05 +11:00
Justin Frank
58c15b0240
Indent and deindent c-family single line else properly
2019-02-08 15:16:29 -08:00
Alex Leferry 2
8aba642535
kakrc: Add force commands
2019-02-06 20:26:32 +01:00
fsub
3f29d5ebbf
ctags: eliminate redundant variable
2019-02-04 20:14:19 +01:00
Jason Felice
58ab144865
Use indentwidth for lisp, scheme, and Clojure
2019-02-04 12:23:57 -05:00
Maxime Coste
4a2cd39eac
Merge remote-tracking branch 'stevenyvr987/fix-ctags-funcinfo-command'
2019-02-03 09:56:18 +11:00
lePerdu
eaa5c0d297
Remove +F from tag attribute highlighting
2019-01-31 09:22:08 -05:00
Steven Chan
568d46bf72
Fix and simplify ctags-funcinfo command
...
1. Enable the command to correctly show the prefix of a function name [prefix::basename],
where prefix is the value gotten from a class, struct, or namespace field of the tag line.
2. Use a readtag filter expression to replace a use of grep.
2019-01-29 11:17:23 -08:00
Maxime Coste
1b469f4c00
Merge http://github.com/ckafi/kakoune
2019-01-23 20:24:24 +11:00
Steven Chan
ae86ffcbf9
Fixes for ctags.kak
...
1. Fix #2250 . Enable ctags to handle absolute file paths.
Only prepend tagroot to tag location if it is a relative file path.
2. Include signature field in the default ctags command.
The regex for displaying signature info includes a mandatory pattern
for 'signature' field, but the field is not a default option for the ctags command.
If the tags file is generated by the as-is ctags command, pattern matching will fail,
and the whole ctags line for the selected function will be displayed instead.
2019-01-21 15:09:33 -08:00
Maxime Coste
ca105f8cc6
Rework c-family shell expansions to speed them up slightly
2019-01-20 12:33:46 +11:00
Maxime Coste
a9ee4e8af4
Small optimization in clojure.kak awk script
2019-01-20 12:32:31 +11:00
Maxime Coste
a35a1591d0
Convert scheme.kak expensive shell scope to awk
2019-01-20 12:31:57 +11:00
Maxime Coste
8587ecaeb4
Slight simplification in c-family.kak
...
There is no need to have split types/macros into many different
variables.
2019-01-19 11:33:53 +11:00
Maxime Coste
2f7ec014b7
Use a here-document for clojure.kak awk script
2019-01-19 10:42:46 +11:00
Maxime Coste
41ce602574
Fix some escaping issues in clojure.kak
2019-01-19 10:29:23 +11:00
Maxime Coste
4a358e0707
Merge remote-tracking branch 'eraserhd/clojure-highlighting-with-awk'
2019-01-19 10:14:05 +11:00
Jason Felice
52c0b7d6b4
Rewrite clojure highlighting to use awk
...
First, avoids the shell escaping issue mentioned in #2604 . Second,
speeds up Kakoune boot time.
2019-01-18 11:20:15 -05:00
Tobias Frilling
ef19d318c4
Better tmux REPL support
...
This allows one REPL per kakoune session and allows the REPL to run in a
different tmux session than the kakoune client.
2019-01-18 14:42:04 +01:00
Maxime Coste
0f9e6680e2
Support quoted here-documents in sh highlighting
2019-01-17 19:58:53 +11:00
Maxime Coste
da8058487b
Fix C++ raw strings not being checked for matching captures
2019-01-17 19:50:43 +11:00
Maxime Coste
0600724a8b
Improve some corner cases in c-family auto-indenting
2019-01-14 23:42:57 +11:00
Maxime Coste
30919b749c
Merge remote-tracking branch 'JJK96/bash'
2019-01-13 23:41:24 +11:00
Jan-Jaap Korpershoek
b306f6aa37
[Bash] Handle hashtag inside expansion ( Fix #2684 )
2019-01-11 00:02:36 +01:00
Maxime Coste
7dbd9bc1e2
Merge remote-tracking branch 'SolitudeSF/nimfix'
2019-01-10 20:28:07 +11:00
Jan-Jaap Korpershoek
c0588529c2
Merge branch 'master' into i3
2019-01-09 16:09:11 +01:00
Jan-Jaap Korpershoek
cb13fb63d3
Add new keywords
2019-01-09 16:08:14 +01:00
SolitudeSF
289b57bb67
rc: nim - properly highlight hex/oct/bin literals, refactor, fix more edgecases
2019-01-08 21:08:46 +02:00
fsub
059b086e62
c-family: Regroup C++ keywords and consider C++20
2019-01-06 19:22:48 +01:00
Justin Frank
8a6a76fcd3
Added 'catch' to kakrc keywords
2019-01-02 13:30:34 -08:00
Maxime Coste
090ccafa8d
Merge remote-tracking branch 'Muffindrake/uch_stdlib'
2018-12-30 10:55:26 +11:00
SolitudeSF
d010b163fa
rc: nim - fix prefixed triplestring edgecase
2018-12-29 19:31:49 +02:00
Maxime Coste
81cef40171
Merge remote-tracking branch 'SolitudeSF/nimfix'
2018-12-29 10:34:45 +11:00
SolitudeSF
a9ef25f172
rc: add missing builtin types, fix displaying of triple string literals, float literals, character literals, type suffixes, enable raw string literals, operators highlighting in nim
2018-12-27 21:49:00 +02:00
Maxime Coste
e2f2503da4
Merge remote-tracking branch 'SolitudeSF/nimfix'
2018-12-28 06:43:24 +11:00
Maxime Coste
f54ba6d4b2
Merge remote-tracking branch 'lenormf/fix-git-notes'
2018-12-28 06:40:13 +11:00
SolitudeSF
a4e65d4706
rc: add missing builtin types, fix displaying of triple string literals, float literals, character literals, type suffixes, enable raw string literals in nim
2018-12-27 21:34:33 +02:00
Maxime Coste
1c7b63709f
Merge remote-tracking branch 'occivink/generic-term-command'
2018-12-28 06:27:51 +11:00
Jason Felice
1631327c33
Some collected fixes for Clojure highlighting
...
- condp is a keyword
- Highlight '10' correctly
- Highlight shebang line as a comment
2018-12-27 11:46:54 -05:00
Olivier Perret
eebc8c2f7d
Fix a couple of mistakes in iterm.kak
2018-12-22 10:32:25 +01:00
Olivier Perret
5146f7ba33
Rework 'terminal' commands
...
* Arguments of the kakoune command are now preserved in the shell call
* Escaping logic is moved from 'new' to 'terminal'
2018-12-22 09:37:17 +01:00