Alex Leferry 2
6fe8b9eb70
Highlight JavaScript static keywords
2018-01-30 19:19:12 +01: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
Maxime Coste
281890ea7a
Merge remote-tracking branch 'nochiel/nochiel-screen'
2017-11-16 12:56:09 +08:00
Nicholas Ochiel
133fcb0ce4
code review: typos.
2017-11-15 17:42:37 +03:00
Nicholas Ochiel
d9a574acd5
Integration with GNU screen; based on tmux.kak
...
- Hack: kak sets `/proc/self/fd/0 -> /dev/null`. Get the client process tty because Screen needs to know the controlling terminal. Else Screen will use the last known tty and will open new windows on a different terminal if one is connected.
2017-11-15 06:10:26 +03:00
Maxime Coste
77b0ee1e19
Merge remote-tracking branch 'lenormf/extend-python-highlighters'
2017-11-14 18:08:27 +08:00
Frank LENORMAND
105d7a1276
rc python: Extend highlighted keywords and numbers
2017-11-14 12:50:20 +03:00
Maxime Coste
2ab9f65b36
c-family.kak: Use <a-S> in various auto indent hooks
2017-11-14 13:32:46 +08:00
Maxime Coste
9c964e97f0
c-family.kak: Highlight character literals later
...
That way it overrides integer literal highlighters in the case where
they conflict.
2017-11-14 11:45:30 +08:00
fsub
ee695ecf95
c-familiy.kak: improve highlighting of C++ literals
2017-11-12 18:16:20 +01:00