Milan Vaško
128e0f53ff
Fixed Lua block comment highlighting
...
Block comments in Lua were broken, apparently due to the opening
sequence being interpreted as a line comment. Changing the order in the
highlighter seems to fix this issue.
2018-02-10 13:40:48 +01:00
Maxime Coste
fb07e2cfcf
clang.kak: workaround OSX awk strange parsing of bracket expressions
...
For some reason `[[:alnum:]{}_]` does not match `{` when
`[{}_[:alnum:]]` does
2018-02-07 19:40:45 +11:00
Dan Rosén
3ac328c1f7
Highlight JSX
...
Additionally merges the javascript and typescript highlighters.
Fixes #1700
2018-02-04 08:31:03 +01:00
Maxime Coste
9883cf5f75
Merge remote-tracking branch 'nochiel/nochiel-fix-tmux-repl'
2018-02-04 09:33:52 +11:00
Daniel Lewan
bc876fa4b6
add justfiles support
2018-02-03 14:43:20 +01:00
Nicholas Ochiel
ca8cbf316c
Check if tmux was compiled from master.
...
Fixes #1827 .
2018-02-03 01:14:25 +03:00
Maxime Coste
cfa497362c
Merge remote-tracking branch 'alexherbo2/rc-javascript'
2018-01-31 09:39:40 +11:00
Alex Leferry 2
6fe8b9eb70
Highlight JavaScript static keywords
2018-01-30 19:19:12 +01:00
Jimmy Thrasher
7bf235b0ee
Add heredoc support for ruby.kak
2018-01-26 07:56:36 -05:00
Maxime Coste
43f50c0852
Convert bundled scripts to ModeChange hook
2018-01-21 10:35:05 +11:00
Dan Rosén
a612432c8d
Highlight python operators
2018-01-07 23:36:41 +01:00
Dan Rosén
40aaf63338
Highlight python doctests in docstrings
2018-01-07 23:36:41 +01:00
Maxime Coste
4740dbf9fa
doc.kak: Fix anchor name completion
2017-12-29 09:37:04 +11:00
Dan Rosén
969f416027
Generate the markdown highlighter code
2017-12-13 07:27:45 +01:00
Maxime Coste
cb2ff7eb5f
Merge remote-tracking branch 'danr/fence'
2017-12-12 17:57:26 +11:00
Maxime Coste
593a75acbe
Merge remote-tracking branch 'lenormf/fix-pony'
2017-12-12 17:55:18 +11:00
Maxime Coste
82b7f462dc
Merge remote-tracking branch 'SolitudeSF/nim'
2017-12-12 17:55:02 +11:00
Frank LENORMAND
996168f504
rc pony: Remove hardcoded indentation settings
2017-12-11 18:27:28 +03:00
SolitudeSF
8ae8e7b31a
Removed indentation settings
2017-12-11 10:26:06 +02:00
Dan Rosén
5bc62c6942
Fix highlight references in Markdown fenced code blocks
...
Fixes #1735
We need \K to not interfer with languages own interpretation of ` like multiline strings in javascript
We need \b in e.g. java\b otherwise it blocks javascript
I couldn't get the bare ``` to not block the other highlighters when introducing \K any other way than negative lookahead of all possible highlighers
2017-12-10 23:00:26 +01:00
Maxime Coste
62f47b780b
Merge branch 'fix-haskell-variables-regression' of git://github.com/bitonic/kakoune
2017-12-11 08:54:23 +11:00
Maxime Coste
d494b9de34
Merge remote-tracking branch 'SolitudeSF/nim'
2017-12-11 08:48:50 +11:00
Francesco Mazzoli
fa61d7aac0
fix regression in highlighting of qualified Haskell variables
...
Commit 870d2d22d7
introduced a regression
in the highlighting of qualified Haskell variables, such as `Foo.bar`.
After that commit `Fo` was highlighted as a constructor (note, not
`Foo`, just `Fo` without the trailing `o`). This restores the original
behavior.
2017-12-10 21:04:03 +01:00
Maxime Coste
19556d5fbe
Merge remote-tracking branch 'Geemili/fix-inline-markdown'
2017-12-10 10:18:51 +11:00
Maxime Coste
9071e2a6bf
Merge remote-tracking branch 'Geemili/feature-restructuredtext'
2017-12-10 10:18:23 +11:00
SolitudeSF
6eabec908e
Expand nim support
2017-12-09 23:02:59 +02:00
LeRoyce Pearson
4f069edca6
Add reStructuredText support script
...
- headers
- bold emphasis
- regular emphasis
- code highlighting
- inline literals
2017-12-09 14:15:00 -06:00
LeRoyce Pearson
3acf3aa5a2
Fix overlapping inline markup
...
Make it some some text like "**bold**" wil not be marked as italic and bold.
2017-12-08 16:04:43 -06:00
Maxime Coste
2f9deaf067
Merge remote-tracking branch 'nochiel/nochiel-screen'
2017-12-07 19:54:11 +08:00
Maxime Coste
7072e65a28
Merge remote-tracking branch 'danr/typescript-comment'
2017-12-07 10:46:26 +08:00
Dan Rosén
fbe312e0d0
Add typescript to comment.kak
2017-12-06 20:50:05 +01:00
Maxime Coste
1b44056fce
man.kak: Better support for renaming a man buffer
...
Fixes #1718
2017-12-06 14:49:38 +08:00
Maxime Coste
a9f1a23f35
man.kak: use shell-candidates instead of shell-completions
2017-12-06 14:10:10 +08:00
Maxime Coste
363a0c3a0d
man.kak: Fix behaviour when called with no params with Posix shells
...
Seems dash nevers falls back for ${@-$blah}, it does not considers $@
to be empty. Use ${1-$blah} instead as we never have more than one
parameter.
2017-12-06 13:23:39 +08:00
Frank LENORMAND
e5742fd6b1
- Fix: proper escaping of kak_{session, client}
2017-12-06 02:30:42 +03:00
Nicholas Ochiel
494d046fb2
* Integrate ranger with GNU Screen.
...
- Ensure ranger opens with the currently focused client tty if multiple screen clients are connected to the same session.
- Ensure args are passed to ranger correctly.
- Ensure command-line args are passed to ranger correctly. (Only strict long format works e.g. `ranger --cmd="echo foo"`)
- Change the current directory because `screen -X` uses screen's cwd not kakoune's.
- Use heredoc to make escaping and quoting easier to debug and slightly less unpredictable.
- Use ranger's `--choosefiles` option instead of mapping keys and having to do multiple levels of escaping and quoting of args esp. command-line args which were unusable in `screen -X eval`.
- Remove screen region when user quits ranger.
2017-12-06 02:29:40 +03:00
Nicholas Ochiel
908e0c1f8c
* Crude implementation of focus: use the current region to switch to the desired window.
...
- The proper way to do this would be to switch focus to the target client's region but GNU Screen offers no obvious way to do that.
- Remove screen region after client is closed.
- Assumed: Kak server runs in screen.
2017-12-03 20:05:02 +03:00
Maxime Coste
23fdb914bf
Merge remote-tracking branch 'lenormf/fix-dockerfile'
2017-12-03 18:13:39 +08:00
Maxime Coste
c83f7d5b1e
Merge remote-tracking branch 'lenormf/nim-support'
2017-12-03 18:13:30 +08:00
Maxime Coste
35d2b2b4bc
c-family.kak: Use regex custom text object to simplify some indent
2017-12-03 17:48:04 +08:00
Maxime Coste
1a38849086
c-family.kak: indent after parenthesis at end of line
2017-12-03 17:47:44 +08:00
Frank LENORMAND
f3238f4e65
rc dockerfile: Remove a left-over debug instruction
2017-12-01 17:12:41 +03:00
Maxime Coste
e9e3dc862c
Merge git://github.com/valerdi/kakoune
2017-12-01 16:40:31 +08:00
Maxime Coste
90c91ca3a2
Merge remote-tracking branch 'lenormf/fix-dockerfile'
2017-12-01 16:39:50 +08:00
valerdi
4d4c6aa82b
added AbstractString to keywords
2017-11-30 15:44:12 +01:00
Frank LENORMAND
e102251880
rc: Implement basic Nim support
2017-11-29 19:15:00 +03:00
Maxime Coste
74b0c98769
Merge remote-tracking branch 'occivink/comment'
2017-11-24 16:29:30 +08:00
Olivier Perret
ee117b9499
set registers directly instead of expanding options in exec
2017-11-23 10:30:10 +01:00
Frank LENORMAND
58ccf6b295
rc python: Highlight built-in exceptions
2017-11-18 11:56:47 +03:00
Maxime Coste
386f595a49
screen.kak: use define-command
full name instead of def
alias
2017-11-16 12:56:42 +08:00