summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--lua/nv-surround/init.lua0
-rw-r--r--lua/nv-utils/init.lua1
-rw-r--r--lua/plugins.lua2
4 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9e74458f..fe341c5e 100644
--- a/README.md
+++ b/README.md
@@ -166,6 +166,7 @@ Topic](https://github.com/topics/vscode-snippets)
- vim ult test
- what is `fzy`
- https://github.com/pwntester/octo.nvim
+- configure surround
**PLUGIN BUGS**
diff --git a/lua/nv-surround/init.lua b/lua/nv-surround/init.lua
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/lua/nv-surround/init.lua
diff --git a/lua/nv-utils/init.lua b/lua/nv-utils/init.lua
index 4e8700f0..b1bd5f58 100644
--- a/lua/nv-utils/init.lua
+++ b/lua/nv-utils/init.lua
@@ -37,6 +37,7 @@ nv_utils.define_augroups({
-- {'BufWinEnter', '.sol', 'setlocal filetype=solidity'},
{ 'FileType', 'dashboard', 'set showtabline=0 | autocmd WinLeave <buffer> set showtabline=2'},
+ { 'FileType', '*', 'setlocal number'},
{ 'FileType', 'dashboard', 'setlocal nonumber'},
{ 'FileType', 'dashboard', 'setlocal nocursorline'},
-- { 'FileType', 'dashboard', 'set nonumber | autocmd WinLeave <buffer> set number'},
diff --git a/lua/plugins.lua b/lua/plugins.lua
index fd782130..4a7b6c32 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -118,7 +118,7 @@ return require('packer').startup(function(use)
use 'tpope/vim-sleuth'
use 'sheerun/vim-polyglot'
use 'monaqa/dial.nvim'
- use 'MattesGroeger/vim-bookmarks' -- Look for more up to date version of this
+ use 'blackcauldron7/surround.nvim'
-- TODO put this back when stable for indent lines
-- use { 'lukas-reineke/indent-blankline.nvim', branch = 'lua'}