summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--lua/plugins.lua13
2 files changed, 12 insertions, 4 deletions
diff --git a/README.md b/README.md
index fbe0f6ac..b7a12f91 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ If you are looking for my old configs checkout the two snapshot branches on this
## Install in one command
-```
+```bash
bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvcode/master/utils/installer/install-nv-code.sh)
```
@@ -43,6 +43,7 @@ $HOME/.config/nvim/lua/nv-vscode/init.vim
## TODO
**HIGH PRIORITY**
+- neovim lightbulb config
- update whichkey bindings
- snippet support
- react commenting
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 859e190f..66056c30 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -1,7 +1,7 @@
local execute = vim.api.nvim_command
local fn = vim.fn
-local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
+local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
@@ -9,6 +9,8 @@ if fn.empty(fn.glob(install_path)) > 0 then
execute 'packadd packer.nvim'
end
+-- vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
+
return require('packer').startup(function()
-- Packer can manage itself as an optional plugin
@@ -33,9 +35,13 @@ return require('packer').startup(function()
-- Autocomplete
use 'hrsh7th/nvim-compe'
use 'hrsh7th/vim-vsnip'
- use 'hrsh7th/vim-vsnip-integ'
+ use 'honza/vim-snippets'
+ -- use 'cstrap/python-snippets'
+ -- use 'ylcnfrht/vscode-python-snippet-pack'
+ -- use 'xabikos/vscode-javascript'
+ -- use 'golang/vscode-go'
+ -- use 'rust-lang/vscode-rust'
-- use 'SirVer/ultisnips'
- -- use 'honza/vim-snippets'
-- use 'norcalli/snippets.nvim'
@@ -97,4 +103,5 @@ return require('packer').startup(function()
use 'voldikss/vim-floaterm'
use 'phaazon/hop.nvim'
use 'liuchengxu/vista.vim'
+ use { 'npxbr/glow.nvim', run = ':GlowInstall' }
end)