Skip to content

Commit

Permalink
Add V (#89)
Browse files Browse the repository at this point in the history
closes #89
  • Loading branch information
Snazzah committed Feb 18, 2022
1 parent b85d21f commit 7c2efd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drp.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def base_activity(started = False):
'python',
'scala',
'yara',
'pascal'
'pascal',
'v'
}

def get_icon(file, ext, _scope):
Expand Down Expand Up @@ -177,7 +178,7 @@ def handle_activity(view, is_write=False, idle=False):

language = os.path.splitext(os.path.basename(view.settings().get('syntax')))[0]
if len(language) < 2:
language += ' Syntax'
language = language.upper() + ' Syntax'
format_dict = dict(
file=os.path.basename(entity),
extension=extension,
Expand Down

0 comments on commit 7c2efd7

Please sign in to comment.