Things
Anirudh Oppiliappan x@icyphox.sh
Wed, 17 Feb 2021 15:35:14 +0530
5 files changed,
14 insertions(+),
2 deletions(-)
M
config/nvim/ftplugin/go.vim
→
config/nvim/ftplugin/go.vim
@@ -1,7 +1,9 @@
setlocal noexpandtab setlocal autoindent +setlocal shiftwidth=4 setlocal smarttab setlocal formatoptions=croql +setlocal tabstop=4 " stolen from https://go.googlesource.com/go/+/c4f5421/misc/vim/ftplugin/go/fmt.vim
M
config/nvim/init.lua
→
config/nvim/init.lua
@@ -26,5 +26,6 @@ -- lsp setup
-- require('lsp.yaml') shits too noisy require('lsp.lua') require('lsp.python') +require('lsp.go') vim.lsp.set_log_level 'debug'
A
config/nvim/lua/lsp/go.lua
@@ -0,0 +1,3 @@
+require('lspconfig').gopls.setup { + on_attach = require('maps').on_attach +}
M
config/nvim/lua/settings.lua
→
config/nvim/lua/settings.lua
@@ -28,6 +28,7 @@ o.shiftwidth = 4
o.softtabstop = 4 o.showmode = false o.clipboard = 'unnamedplus' +o.listchars='tab:│ ,nbsp:␣,trail:·,extends:>,precedes:<' o.hidden = true o.wildignore = [[ .git,.hg,.svn@@ -60,6 +61,7 @@ g.python3_host_prog = '$HOME/.pyenv/versions/3.9.1/bin/python3.9'
-- window-local options wo.number = false +wo.list = true wo.wrap = false -- buffer-local options@@ -86,8 +88,8 @@ -- completion-nvim
cmd('au BufEnter * lua require"completion".on_attach()') g.completion_chain_complete_list = { default = { - { complete_items = { 'buffers' } }, { complete_items = { 'lsp' } }, + { complete_items = { 'buffers' } }, { mode = { '<c-p>' } }, { mode = { '<c-n>' } } },
M
darwin/com.googlecode.iterm2.plist
→
darwin/com.googlecode.iterm2.plist
@@ -832,6 +832,8 @@ <key>Description</key>
<string>Default</string> <key>Disable Window Resizing</key> <true/> + <key>Draw Powerline Glyphs</key> + <false/> <key>Flashing Bell</key> <false/> <key>Foreground Color</key>@@ -1167,7 +1169,7 @@ <string>Monaco 12</string>
<key>Non-ASCII Anti Aliased</key> <true/> <key>Normal Font</key> - <string>SFMono-Regular 12</string> + <string>SFMono-Regular 15</string> <key>Option Key Sends</key> <integer>2</integer> <key>Prompt Before Closing 2</key>@@ -1214,6 +1216,8 @@ <key>Tags</key>
<array/> <key>Terminal Type</key> <string>xterm-256color</string> + <key>Thin Strokes</key> + <integer>4</integer> <key>Transparency</key> <real>0.0</real> <key>Unlimited Scrollback</key>