Add a tweak for fish shell scripts (#135)

In the fish shell, the keyword 'end' is used both as a keyword and for
ending conditional logic.

For example, in the trivial function below, the word `end` is used to
terminate the "if" conditional, and it's also used as a keyword to
indicate the end of the function.

This tweak makes the word the same color in both places. I selected
purple to match the Onedark scheme in Atom.

```fish
function foo

    if not string length $argv
        echo "I got nothing."
    end

end
```
This commit is contained in:
Michael Jarvis
2018-12-24 14:56:19 -06:00
committed by Josh Dick
parent 2a6155a255
commit 77c7b00eb1

View File

@@ -283,6 +283,10 @@ call s:h("cssSelectorOp", { "fg": s:purple })
call s:h("cssSelectorOp2", { "fg": s:purple })
call s:h("cssTagName", { "fg": s:red })
" Fish Shell
call s:h("fishKeyword", { "fg": s:purple })
call s:h("fishConditional", { "fg": s:purple })
" Go
call s:h("goDeclaration", { "fg": s:purple })