summaryrefslogtreecommitdiff
path: root/rc/core/python.kak
AgeCommit message (Collapse)Author
2019-03-21Add categories in rc/Alex Leferry 2
Closes #2783
2018-12-19Unify auto-indent trimming hooksOlivier Perret
* ModeChange hooks that remove indent now belong to *-trim-indent groups, instead of just -indent * *-filter-around-selections hooks and commands have been renamed to trim-indent for clarity
2018-12-11Execute cleanup hooks on any filetype changeOlivier Perret
2018-12-11Change cleanup of core/ languages to use a simpler hook -onceOlivier Perret
2018-11-12python: add async/await keywords highlightingroger
2018-07-08Fix python indent for lines ending with colonMaxim Baz
2018-07-05Make recurse regex opt-in with a -recurse switch instead of opt-outMaxime Coste
2018-07-05Fix highlighters in rc/core post syntax refactoringMaxime Coste
2018-07-05Fix remaining static_words and spell.kak for the new list syntaxShachaf Ben-Kiki
2018-07-05Do not reparse %sh{...} stringsMaxime Coste
Automatic reparsing of %sh{...}, while convenient in many cases, can be surprising as well, and can lead to security problems: 'echo %sh{ printf "foo\necho bar" }' runs 'echo foo', then 'echo bar'. we make this danger explicit, and we fix the 'nop %sh{...}' pattern. To reparse %sh{...} strings, they can be passed to evaluate-commands, which has been fixed to work in every cases where %sh{...} reparsing was used..
2018-07-02Add missing python3 keyword: nonlocalMaxim Baz
2018-02-18rc/: Replace simple uses of sed with trMaxime Coste
2018-01-21Convert bundled scripts to ModeChange hookMaxime Coste
2018-01-07Highlight python operatorsDan Rosén
2018-01-07Highlight python doctests in docstringsDan Rosén
2017-11-18rc python: Highlight built-in exceptionsFrank LENORMAND
2017-11-14rc python: Extend highlighted keywords and numbersFrank LENORMAND
2017-11-03src rc: Rename `exec`/`eval` into `execute-keys`/`evaluate-commands`Frank LENORMAND
2017-11-03rc: Don't use command aliases to highlight keywords properlyFrank LENORMAND
2017-10-28Move highlighters into ScopesMaxime Coste
That means we can now have highlighters active at global, buffer, and window scope. The add-highlighter and remove-highlighter syntax changed to take the parent path (scope/group/...) as a mandatory argument, superseeding the previous -group switch.
2017-01-13Various auto indent fixes regarding wrong use of x instead of <a-x>Maxime Coste
2017-01-11Copy comments *before* copying indentationMaxime Coste
Fixes #1118
2017-01-04update command namesAlex Leferry 2
2017-01-02Rename python indentation command to be more consistentMaxime Coste
We use `-` as word separator, and there is no need for leading underscore.
2016-12-06transform mimetype to a fallback optionMartin Chaine
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-11-24Introduce the `builtin` face, modify scripts accordinglyFrank LENORMAND
2016-10-14Remove all references to `formatcmd`Frank LENORMAND
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-13Fix python comment copy logic in python.kakMaxime Coste
And introduce the first unit test that sources bundled support scripts. Fixes #860
2016-10-01Fix hool -> hook in rc filesMaxime Coste
2016-09-28Add highlight group to highlighters rmhl hooksgreduan
2016-09-28Add highlight group to highlighters addhl hooksgreduan
2016-05-05Restore whitespace cleanup on InsertEnd in python.kakMaxime Coste
2016-05-05python.kak: restore cleaning up trailing whitespaces on newlineMaxime Coste
2016-04-23Pass a generic pattern to `printf` calls, use `echo` when possibleFrank LENORMAND
2016-04-21Remove uses of \< and \>, always use std regex compatible \bMaxime Coste
2016-04-09style tweak in the static words definitionsMaxime Coste
2016-03-17Replace non-POSIX here-strings and calls to `echo`Frank LENORMAND
2016-03-14Replace non-POSIX inline character replacement in shell scriptsFrank LENORMAND
2016-03-14Add static completion suggestions to several languages, set `autopep8` as ↵Frank LENORMAND
default python formatter
2016-01-29Reorganise rc/ into subdirectoriesMaxime Coste
* core: set of tools to work on kakoune source code * base: very common languages and tools * extra: less common languages and tools