summaryrefslogtreecommitdiff
path: root/rc/core/python.kak
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2016-10-14 19:16:45 +0300
committerFrank LENORMAND <lenormf@gmail.com>2016-10-14 19:16:45 +0300
commit67a8e8ca3c342e49a4f43353a55c11caf81e0848 (patch)
tree26cee886e3074d3ab78ac9f97731bbd91a9fc45e /rc/core/python.kak
parent41a497d4fc123d8390127040aecc251f46e24548 (diff)
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.
Diffstat (limited to 'rc/core/python.kak')
-rw-r--r--rc/core/python.kak2
1 files changed, 0 insertions, 2 deletions
diff --git a/rc/core/python.kak b/rc/core/python.kak
index 69da651a..42d9d449 100644
--- a/rc/core/python.kak
+++ b/rc/core/python.kak
@@ -75,8 +75,6 @@ hook global WinSetOption filetype=python %{
hook window InsertChar \n -group python-indent _python_indent_on_new_line
# cleanup trailing whitespaces on current line insert end
hook window InsertEnd .* -group python-indent %{ try %{ exec -draft \; <a-x> s ^\h+$ <ret> d } }
-
- set window formatcmd "autopep8 -"
}
hook -group python-highlight global WinSetOption filetype=(?!python).* %{ rmhl python }