From d4a4a67fcb1b7a8cf7f987c1e3012043fd84e076 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 1 Aug 2020 10:25:38 +0530 Subject: add golang ftplugin --- X/.Xresources | 8 ++------ nvim/.config/nvim/ftplugin/go.vim | 4 ++++ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 nvim/.config/nvim/ftplugin/go.vim diff --git a/X/.Xresources b/X/.Xresources index 010298e..c545bb1 100644 --- a/X/.Xresources +++ b/X/.Xresources @@ -46,7 +46,7 @@ *color14: base0F *color15: base07 -URxvt.cursorBlink : 1 +URxvt.cursorBlink : on URxvt.font :xft:Input:size=12:style=Regular \ xft:DejaVu Sans Mono:size=11:style=Medium @@ -79,7 +79,7 @@ rofi.color-active: base03 , base0E , base00 , base0B , base00 rofi.color-urgent: base00 , base03 , base00 , base00 , base03 rofi.fake-transparency : true -rofi.font : Iosevka Nerd 13 +rofi.font : Input 13 rofi.columns : 1 rofi.separator-style : none rofi.hide-scrollbar : true @@ -91,10 +91,6 @@ rofi.fullscreen : false rofi.width : 300 rofi.lines : 6 -dzen2.font: -*-archivo-medium-r-normal--0-90-0-0-p-0-*-* -dzen2.foreground: base07 -dzen2.background: ase00 - Xft.autohint: 1 Xft.antialias: 1 Xft.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 @@ +setlocal noexpandtab +setlocal autoindent +setlocal smarttab +setlocal formatoptions=croql -- cgit v1.2.3