summaryrefslogtreecommitdiff
path: root/rc/base/javascript.kak
AgeCommit message (Collapse)Author
2019-03-21Add categories in rc/Alex Leferry 2
Closes #2783
2019-01-31Remove +F from tag attribute highlightinglePerdu
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 base/ languages to use a simpler hook -onceOlivier Perret
2018-10-28replace usage of the deprecated 'e' face attribute with the new 'F' oneRuslan Prokopchuk
and update set-face docstring
2018-07-05Make recurse regex opt-in with a -recurse switch instead of opt-outMaxime Coste
2018-07-05Fix remaining kak scripts to use the new highlighter syntaxMaxime Coste
2018-03-22Fix javascript close bracket alignmentClint Hall
2018-03-19Improve JS/TS highlighter slightlyDan Rosén
2018-02-17base javascript: Tweak variable highlightingFrank LENORMAND
This commit avoids false positives when highlighting literals such as `$window`, which is a regular variable but still highlighted as a special value. Special highlighting of variables that start with a dollar sign `$` was also removed, as not all variables start with a dollar sign, and we don't have a reliable way yet to detect variables.
2018-02-04Highlight JSXDan Rosén
Additionally merges the javascript and typescript highlighters. Fixes #1700
2018-01-30Highlight JavaScript static keywordsAlex Leferry 2
2018-01-21Convert bundled scripts to ModeChange hookMaxime Coste
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-10-25Use stricter regex syntaxMaxime Coste
boost regex tolerates non-escaped special characters, and escaped non-special characters. Standardize on stricter syntax, where special characters must be escaped, and non-special characters must not.
2017-10-25rc/: More consistent uses of regex syntaxMaxime Coste
Always use \A \z for subject start/end, always \b for word boundaries
2017-03-05Add Symbol, async and await highlighting for javascript.kakDelapouite
2017-02-13Merge remote-tracking branch 'nicholastmosher/faces'Maxime Coste
2017-02-09Adds faces module and function. Renames identifier face to variable.Nick Mosher
2017-02-09fix regex highlightingAlex Leferry 2
2017-01-13Fix naming conventions in bundled scriptsMaxime Coste
Do not use _ prefix for hidden commands, use - as a word separator in command names.
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-10Merge remote-tracking branch 'alexherbo2/command-names'Maxime Coste
2017-01-06Add support for ES6 template literals to javascript highlightingMatt Schick
2017-01-04update command namesAlex Leferry 2
2016-12-29Fix comment-leader auto-insertionDan Rosén
Fixes #1074
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-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-04-21Remove uses of \< and \>, always use std regex compatible \bMaxime Coste
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