dotfiles

Configuration files to dump into your home directory.
git clone git://git.swab.dev/dotfiles.git
Log | Files | Refs

commit 004f0a31c37ded0063c347687e846055e98465b8
parent 3512156b10349fee5cd78f036235466f6cfe785b
Author: Jaron Swab <jaron.swab@infor.com>
Date:   Wed,  1 Sep 2021 15:04:15 -0400

added GoPls lua script - neovim 0.5.0 requried

Diffstat:
M.config/nvim/init.vim | 20+++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -2,16 +2,34 @@ set nocompatible " be iMproved, required call plug#begin('~/.local/share/nvim/plugs') " let Vundle manage Vundle, required +Plug 'neovim/nvim-lspconfig' Plug 'VundleVim/Vundle.vim' Plug 'wikitopian/hardmode' Plug 'vim-syntastic/syntastic' -Plug 'fatih/vim-go' +"Plug 'fatih/vim-go' Plug 'koalaman/shellcheck' " themes Plug 'arcticicestudio/nord-vim' " All of your Plugins must be added before the following line call plug#end() " required +" Lua scripts need Neovim 0.5.0 +" Go Language Server +lua <<EOF + lspconfig = require "lspconfig" + lspconfig.gopls.setup { + cmd = {"gopls", "serve"}, + settings = { + gopls = { + analyses = { + unusedparams = true, + }, + staticcheck = true, + }, + }, + } +EOF + "no arrow keys no <up> <Nop> no <down> <Nop>