aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-08-01 05:55:38 +0100
committerAkshay <[email protected]>2020-08-01 05:55:38 +0100
commitd4a4a67fcb1b7a8cf7f987c1e3012043fd84e076 (patch)
tree3e0753495fb2d17cfa63fc53a3b92e6497cb727c
parent7e82805e4a563f67e77f19bfb29a8c71bc26d54d (diff)
add golang ftplugin
-rw-r--r--X/.Xresources8
-rw-r--r--nvim/.config/nvim/ftplugin/go.vim4
2 files changed, 6 insertions, 6 deletions
diff --git a/X/.Xresources b/X/.Xresources
index 010298e..c545bb1 100644
--- a/X/.Xresources
+++ b/X/.Xresources
@@ -46,7 +46,7 @@
46*color14: base0F 46*color14: base0F
47*color15: base07 47*color15: base07
48 48
49URxvt.cursorBlink : 1 49URxvt.cursorBlink : on
50URxvt.font :xft:Input:size=12:style=Regular \ 50URxvt.font :xft:Input:size=12:style=Regular \
51 xft:DejaVu Sans Mono:size=11:style=Medium 51 xft:DejaVu Sans Mono:size=11:style=Medium
52 52
@@ -79,7 +79,7 @@ rofi.color-active: base03 , base0E , base00 , base0B , base00
79rofi.color-urgent: base00 , base03 , base00 , base00 , base03 79rofi.color-urgent: base00 , base03 , base00 , base00 , base03
80 80
81rofi.fake-transparency : true 81rofi.fake-transparency : true
82rofi.font : Iosevka Nerd 13 82rofi.font : Input 13
83rofi.columns : 1 83rofi.columns : 1
84rofi.separator-style : none 84rofi.separator-style : none
85rofi.hide-scrollbar : true 85rofi.hide-scrollbar : true
@@ -91,10 +91,6 @@ rofi.fullscreen : false
91rofi.width : 300 91rofi.width : 300
92rofi.lines : 6 92rofi.lines : 6
93 93
94dzen2.font: -*-archivo-medium-r-normal--0-90-0-0-p-0-*-*
95dzen2.foreground: base07
96dzen2.background: ase00
97
98Xft.autohint: 1 94Xft.autohint: 1
99Xft.antialias: 1 95Xft.antialias: 1
100Xft.lcdfilter: lcddefault 96Xft.lcdfilter: lcddefault
diff --git a/nvim/.config/nvim/ftplugin/go.vim b/nvim/.config/nvim/ftplugin/go.vim
new file mode 100644
index 0000000..6efd1fe
--- /dev/null
+++ b/nvim/.config/nvim/ftplugin/go.vim
@@ -0,0 +1,4 @@
1setlocal noexpandtab
2setlocal autoindent
3setlocal smarttab
4setlocal formatoptions=croql