2021-03-10 12:15:06 +00:00
|
|
|
set rtp +=.
|
2021-08-24 04:53:37 +00:00
|
|
|
set rtp +=../plenary.nvim/
|
|
|
|
set rtp +=../nvim-treesitter
|
2021-08-24 07:34:33 +00:00
|
|
|
set rtp +=../nvim-lspconfig/
|
2021-08-24 04:53:37 +00:00
|
|
|
|
2021-03-10 12:15:06 +00:00
|
|
|
runtime! plugin/plenary.vim
|
2021-08-24 04:53:37 +00:00
|
|
|
runtime! plugin/nvim-treesitter.vim
|
|
|
|
runtime! plugin/playground.vim
|
2021-08-24 07:34:33 +00:00
|
|
|
runtime! plugin/nvim-lspconfig.vim
|
2021-08-24 04:53:37 +00:00
|
|
|
|
|
|
|
set noswapfile
|
|
|
|
set nobackup
|
|
|
|
|
|
|
|
filetype indent off
|
|
|
|
set nowritebackup
|
|
|
|
set noautoindent
|
|
|
|
set nocindent
|
|
|
|
set nosmartindent
|
|
|
|
set indentexpr=
|
|
|
|
|
2021-03-10 12:15:06 +00:00
|
|
|
|
2021-08-24 04:53:37 +00:00
|
|
|
lua << EOF
|
|
|
|
_G.test_rename = true
|
|
|
|
_G.test_close = true
|
|
|
|
require("plenary/busted")
|
|
|
|
require("go").setup({
|
|
|
|
gofmt = 'gofumpt',
|
|
|
|
goimport = "goimports",
|
2021-12-02 06:44:22 +00:00
|
|
|
log_path = vim.fn.expand("$HOME") .. "/gonvim.log",
|
2021-08-24 04:53:37 +00:00
|
|
|
lsp_cfg = true,
|
|
|
|
})
|
|
|
|
EOF
|