Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "add scala keywords" #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Current language support with keyword blacklists:
* Python
* Ruby
* Rust
* Scala
* TypeScript

This can be customized locally by populating `g:semanticBlacklistOverride` like so:
Expand Down Expand Up @@ -87,7 +86,7 @@ var $someObject = '1231';
var someObject = 1231;
```

Without the `autocommand` outlined below, only the `someObject` portion of the variable would be semantically highlighted, and highlighted the same colour as the `$`-free variable. To have the preceding `$` included in the semantic highlight, use the following snippet in your vimrc:
Without the `autocommand` outlined below, only thed `someObject` portion of the variable would be semantically highlighted, and highlighted the same colour as the `$`-free variable. To have the preceding `$` included in the semantic highlight, use the following snippet in your vimrc:

```
autocmd FileType javascript setlocal iskeyword+=$
Expand Down
52 changes: 0 additions & 52 deletions autoload/blacklist.vim
Original file line number Diff line number Diff line change
Expand Up @@ -605,58 +605,6 @@ let s:blacklist = {
\ 'complex128',
\ 'byte',
\ ],
\ 'scala': [
\ 'abstract',
\ 'case',
\ 'catch',
\ 'class',
\ 'def',
\ 'do',
\ 'else',
\ 'extends',
\ 'false',
\ 'final',
\ 'finally',
\ 'for',
\ 'forSome',
\ 'if',
\ 'implicit',
\ 'import',
\ 'lazy',
\ 'macro',
\ 'match',
\ 'new',
\ 'null',
\ 'object',
\ 'override',
\ 'package',
\ 'private',
\ 'protected',
\ 'return',
\ 'sealed',
\ 'super',
\ 'this',
\ 'throw',
\ 'trait',
\ 'try',
\ 'true',
\ 'type',
\ 'val',
\ 'var',
\ 'while',
\ 'with',
\ 'yield',
\ '_',
\ ':',
\ '=',
\ '=>',
\ '<-',
\ '<:',
\ '<%',
\ '>:',
\ '#',
\ '@',
\ ],
\ }

if (exists('g:semanticBlacklistOverride'))
Expand Down