Commit Graph

111 Commits

Author SHA1 Message Date
Martin Chaine
28e37b608d remove trailing whitespaces 2016-11-05 18:40:37 +01:00
Martin Chaine
590e28ea7f Extended support for go
completion, auto-format, documentation and more
2016-11-05 17:54:56 +01:00
Maxime Coste
4b2004c6ff git-tools.kak: Fix passing of custom parameters to git commit 2016-10-24 20:45:57 +01:00
Martin Chaine
d7d79af8b4 Add taskpaper basic support 2016-10-21 13:32:17 +02:00
Maxime Coste
658d993d71 Try to fix autorestore posix compatibility 2016-10-17 21:31:56 +01:00
Frank LENORMAND
5db1d1beef Move the commenting variables back to commenting.kak
Initialising the `comment_line_chars` and `comment_selection_chars` variables
in language support scripts created a hard dependency of those scripts
to `commenting.kak`, which would create errors when this script was not
loaded, e.g. when running tests.
2016-10-14 22:12:01 +03:00
Frank LENORMAND
8b5cf3feb0 Add a missing then keyword to an if statement 2016-10-12 15:35:25 +03:00
Frank LENORMAND
f6a2925950 Fix, complete and add docstring documentation to builtin commands
Level out the builtin commands loaded at startup in terms of format and
expressiveness. The following convention was followed:
* commands that take more than one argument have to be described along
  with their parameters prior to the actual documentation, otherwise the
  docstring consists in a capitalized sentence
  e.g. `command <arg1>: do something`
* optional arguments are enclosed in square brackets, to comply with the
  format used for hardcoded commands
  e.g. `cd [<directory>]`
* describe the effects of the command in the documentation string and
  omit implementation details unless they are relevant. Usually command
  names include the name of the tool they use, so they don't need to be
  redundantly mentioned
  e.g. `tmux-new-pane <arguments>: open a new pane`
* document the format the parameters to the commands, or list them if
  they are to be chosen among a list of static values (c.f. `spell.kak`)
2016-10-11 10:26:17 +03:00
Maxime Coste
d89959dfa8 autorestore.kak: more tweaks, a WIP version was pushed by error 2016-10-07 08:57:45 +01:00
Maxime Coste
1970cb68c9 Refactor autorestore.kak to make it faster 2016-10-06 22:35:07 +01:00
Maxime Coste
8a4cf85e22 Use eval -no-hooks when writing the buffer in a tmp file for scripting purposes 2016-10-03 20:29:54 +01:00
Maxime Coste
1b9c8b9cf2 Fix hool -> hook in rc files 2016-10-01 14:09:59 +01:00
Maxime Coste
e65aa4a6de Merge remote-tracking branch 'greduan/highlighter-group' 2016-10-01 13:43:21 +01:00
Maxime Coste
a66aed21c2 Merge remote-tracking branch 'lenormf/fix-flake8' 2016-09-28 21:47:09 +01:00
Maxime Coste
098c94b878 Do not automatically enable ranger on directory open errors
Use an explicit command that does that 'ranger-open-on-edit-directory'
and remove the file_manager option that is not needed anymore.
2016-09-28 19:34:29 +01:00
greduan
a68f5f20a1 Add highlight group to highlighters rmhl hooks 2016-09-28 08:45:01 +02:00
greduan
6c6359de93 Add highlight group to highlighters addhl hooks 2016-09-28 08:25:02 +02:00
Alex Leferry 2
503b5bea4c add ranger.kak 2016-09-26 11:51:53 +02:00
Frank LENORMAND
fbc2091df9 Rewrite some non POSIX conditionals 2016-09-24 12:49:19 +03:00
Maxime Coste
6f8d5d2e1f Merge remote-tracking branch 'alexherbo2/ranger-rc' 2016-09-22 23:19:37 +01:00
Martin Chaine
a03cc59608 Use POSIX case and BRE 2016-09-09 16:48:49 +02:00
Maxime Coste
80298a95a0 clang.kak: Use two sed processes instead of one to avoid extra long pattern space
The previous version was ending up with all the completion candidates
in a single, multiline pattern space, regex substitution on it was
extremely slow compared to the two process version where substitution
is always running on a single candidate.
2016-08-30 23:41:27 +01:00
Enrico Lumetti
5ee57f18df Invoke tmux only after checking its existence 2016-08-30 16:51:33 +02:00
Alex Leferry 2
d3075c0325 add ranger.kak 2016-08-30 13:20:12 +02:00
Maxime Coste
551263c564 Use shell-candidates for :git command completion 2016-08-30 01:01:18 +01:00
Martin Chaine
82e28bce11 Move iterm.kak to rc/extra 2016-07-25 12:52:40 +02:00
Frank LENORMAND
3a4e258fde Print an error message when unsupported tmux functions are called
Closes #615
2016-06-23 20:07:51 +03:00
Maxime Coste
796a2ad63d Remove useless and non posix -e switch to awk invocations in rc scripts
Fixes #705
2016-06-21 19:00:41 +01:00
Maxime Coste
656b8c1c95 Fix clang-show-completion-info command 2016-05-11 23:57:21 +01:00
Maxime Coste
b7cf5d6001 Fix some uses of printf in git-tools.kak 2016-05-09 13:52:54 +01:00
Frank LENORMAND
a20f5fc6a2 Pass a generic pattern to printf calls, use echo when possible 2016-04-23 10:00:36 +03:00
Frank LENORMAND
262de38c3d Replace non-POSIX '<<<' here strings with a regular pipeline 2016-04-23 09:56:53 +03:00
Frank LENORMAND
84a21f8cfb Replace non POSIX calls to echo with printf %s 2016-04-23 09:56:53 +03:00
Maxime Coste
3f74dd2924 Remove uses of \< and \>, always use std regex compatible \b 2016-04-21 20:43:17 +01:00
Maxime Coste
1c43faeba9 Remove non-posix expansion in autorestore.kak 2016-04-20 13:25:38 +01:00
Mohammed Kareem
9dee71e7c3 Reformatting, no tabs and fixed indentation. 2016-04-13 02:29:56 +02:00
Mohammed Kareem
e97f99dbab Flake8 diagnostics support
This follows the clang diagnostics example and does the same thing. It
just uses the flake8 program and the regex's are a bit different.
2016-04-12 21:17:50 +02:00
Maxime Coste
a8b2834d56 Merge branch 'master' of git://github.com/crooney/kakoune 2016-04-04 13:43:19 +01:00
Maxime Coste
675a68abb8 Small fixes in clang.kak completion handling 2016-04-04 13:42:58 +01:00
Maxime Coste
b5a68307ba Use a specific option type completions for insert completion
Fix escaping in jedi.kak as well
2016-04-04 13:42:58 +01:00
chris rooney
27f78e241a whitespace fix 2016-04-01 09:02:15 -04:30
chris rooney
2718c05c0e initial commit of jade/pug highlighter 2016-04-01 08:50:31 -04:30
Maxime Coste
24372938c5 Improve parse error display in clang.kak 2016-03-31 13:58:18 +01:00
Maxime Coste
09baf73152 Fix various posix shell compliance issues in the rc/ files 2016-03-14 20:59:23 +00:00
Maxime Coste
35d3679703 Tweak clang.kak implementation of clang-show-completion-info 2016-03-12 16:44:08 +00:00
Alex Leferry 2
b67c098c8c code cleanup: remove optional sed option 2016-03-08 20:33:54 +01:00
Maxime Coste
32427ba43e Merge remote-tracking branch 'alexherbo2/moon-rc' 2016-03-06 15:19:29 +00:00
Maxime Coste
786037cffc Always place clang completion function info above the anchor
When placed below, it will hide the main selection cursor when editing
the second line of a multiple line parameter list.
2016-03-04 13:36:27 +00:00
Maxime Coste
b7dd5056ba Tweak clang.kak 2016-03-03 19:28:45 +00:00
Alex Leferry 2
25cd29dca4 add :alt command to jump to the alternate file (implementation ↔ test) 2016-03-03 18:53:04 +01:00
Maxime Coste
f8e64ba29f Jedi: add a jedi_python_path str-list option 2016-02-28 18:48:59 +00:00
Alex Leferry 2
aa39380f4b Fix MIME type detection 2016-02-28 17:57:38 +01:00
Alex Leferry 2
1c61e2fc41 add rc/moon.kak 2016-02-27 17:46:39 +01:00
Maxime Coste
6cbc97900b Add editorconfig.kak by Enrico Lumetti
Closes #514
2016-02-22 23:11:20 +00:00
Maxime Coste
9cdfa4a81c Ooops, you never saw that 2016-02-11 09:46:59 +00:00
Maxime Coste
050484ebe0 Slight cleanup in modeline.kak 2016-02-10 21:26:56 +00:00
Maxime Coste
8b7025b8ea Move modeline.kak into rc/extra 2016-02-10 21:05:04 +00:00
Frank LENORMAND
89cfc4693d Add a LaTeX support script 2016-02-09 11:52:18 +02:00
Maxime Coste
3e0e32cfbb Merge remote-tracking branch 'alexherbo2/coffee-rc' 2016-02-03 09:29:01 +00:00
Maxime Coste
ac601889df Remove grench.kak
Closes #571
2016-02-02 22:14:54 +00:00
Maxime Coste
fef0277998 Reorganise rc/ into subdirectories
* core: set of tools to work on kakoune source code
 * base: very common languages and tools
 * extra: less common languages and tools
2016-01-29 09:03:23 +00:00