Skip to content

Commit 05c339f

Browse files
authored
Merge pull request #26 from davidhcefx/tab-ext
enh: specify `tabgives` for certain languages
2 parents 61d733d + 49d8436 commit 05c339f

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

go.nanorc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
syntax "GO" "\.go$"
22
comment "//"
3+
tabgives " "
34

45
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
56
color brightblue "\<(append|cap|close|complex|copy|delete|imag|len)\>"

makefile.nanorc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ syntax "Makefile" "([Mm]akefile|\.ma?k)$"
22
header "^#!.*/(env +)?[bg]?make( |$)"
33
magic "makefile script"
44
comment "#"
5+
tabgives " "
56

67
color cyan "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>"
78
color cyan "^(export|include|override)\>"

prolog.nanorc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Here is a prolog example.
22

3-
syntax "prolog" "\.pl$"
3+
syntax "prolog" "\.pl$" "\.pro$"
44
comment "%"
55

66
# Reset everything

verilog.nanorc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# a starting point. I based verilog.nanorc off of c.nanorc and
1919
# python.nanorc.
2020

21-
syntax "verilog" "\.(v|vh|sv|svh)$"
21+
syntax "verilog" "\.(v|vh|vlg|verilog|sv|svh)$"
2222

2323
# I don't think we want this.
2424
#color brightred "\<[A-Z_][0-9A-Z_]+\>"

yaml.nanorc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
syntax "yaml" "\.ya?ml$"
22
#comment "#"
33
header "^---" "%YAML"
4+
tabgives " "
45

56
# Values
67
color green "(:|^|\s)+\S+"

0 commit comments

Comments
 (0)