Maxime Coste
99b7d83ca3
Highlight c-family include paths as identifiers
2017-02-03 13:35:45 +00:00
Maxime Coste
5989903e7c
Copy comments *before* copying indentation
...
Fixes #1118
2017-01-11 13:56:48 +00:00
Alex Leferry 2
671b50bb52
update command names
2017-01-04 13:04:27 +01:00
Maxime Coste
c3e1bab9d6
Fix comment autoinsert for c-family as well.
...
Fixes #1074
2017-01-02 12:05:49 +00:00
Maxime Coste
d5231c713e
Fix corner case in C indentation
2017-01-02 04:15:12 +00:00
Maxime Coste
1bdf26fd6e
Merge remote-tracking branch 'casimir/remove-mimetype'
2016-12-14 13:30:59 +00:00
Maxime Coste
0f486666e0
Remove underscore prefix from indent command in c-family.kak
...
We already define these commands as hidden, this underscore has
little value.
2016-12-09 13:51:44 +00:00
Maxime Coste
d8f00198f3
Improve C indentation support around namespace/struct closing bracket
2016-12-09 13:50:41 +00:00
Martin Chaine
7384288e07
transform mimetype to a fallback option
...
The option is now used as a fallback when detection by extension fails. Some
scripts like `base/mail.kak` and `base/html.kak` still rely heavily on it.
2016-12-06 17:48:46 +01:00
Maxime Coste
168abcdb48
Fix c-family.kak after the change to keep handling of eol
2016-11-29 00:01:37 +00:00
Maxime Coste
97a84a4765
c-family.kak: rename gcc_macros to builtin_macros
2016-11-27 23:38:47 +00:00
Frank LENORMAND
94971e0e8a
Introduce the builtin
face, modify scripts accordingly
2016-11-24 17:06:45 +03:00
Maxime Coste
90de54af2f
Rework c-family /* */ comments auto insertion of prefix star
...
Fixes #918
2016-11-14 21:11:20 +00:00
Maxime Coste
01dba547fb
Tweak c-family indentation logic
2016-11-02 22:27:50 +00:00
Maxime Coste
cf5bcdf1bb
Merge remote-tracking branch 'lenormf/fix-formatcmd'
2016-10-17 18:28:57 +01:00
Maxime Coste
1431dcff46
Fix bug in c-family indentation logic after visibility labels
...
Fixes #872
2016-10-16 19:27:53 +01:00
Frank LENORMAND
67a8e8ca3c
Remove all references to formatcmd
...
Initializing the `formatcmd` variable in the default language support
scripts created a dependency to the `formatter.kak` script, which we do
not want. Examples of such cases are when users haven't loaded the
`formatter.kak` script, or when Kakoune runs its test suite and
selectively loads some language scripts for testing purposes.
2016-10-14 19:16:45 +03: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
Maxime Coste
e9c63316f5
Tweak c-family indent logic
2016-09-05 23:33:34 +01:00
Maxime Coste
3a24763d53
c-indent: only align to opening paren if it is on the immediate previous line
2016-08-09 18:45:13 +01:00
Maxime Coste
967a55d09f
c-indent: Tweak implementation of c-family-insert-on-newline
2016-08-05 09:37:25 +01:00
Maxime Coste
19e36425f4
c-indent: Restore previous indent after a closing parenthesis
2016-08-05 09:05:47 +01:00
Maxime Coste
d836fe7d66
c-indent: fix align to opening paren touching too much text
2016-08-05 09:05:30 +01:00
Frank LENORMAND
78c6b7c03d
Don't completely remove empty lines when fixing indents
2016-07-15 10:29:19 +03:00
Frank LENORMAND
4204f6dae6
Create an insert group, fix and improve the existing hooks
2016-07-12 17:23:55 +03:00
Maxime Coste
a2d76e27b0
Use a draft context for *.h c/cpp filetype decision
2016-06-22 20:49:58 +01:00
Maxime Coste
8c5d3128ef
static_words def style tweak in c-family.kak
2016-05-05 13:54:12 +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
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
a026ebf298
style tweak in the static words definitions
2016-04-09 10:20:13 +01:00
Frank LENORMAND
4bb5658206
Replace non-POSIX here-strings and calls to echo
2016-03-17 15:32:32 +02:00
Frank LENORMAND
3079d2a7e3
Replace non-POSIX inline character replacement in shell scripts
2016-03-14 18:29:11 +02:00
Frank LENORMAND
98594cf6df
Add static completion suggestions to several languages, set autopep8
as default python formatter
2016-03-14 14:10:49 +02:00
Maxime Coste
00673eba36
Handle more gracefully switches between different c-family filetypes
2016-03-03 19:28:58 +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