summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-10 11:51:18 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-10 11:51:18 +0200
commitb1cb99daefdd9bd3637481b230499fdfcc1205c0 (patch)
treef9dec58f0ae57c566a0b4b5994958697e3be0b77
parentf8ce0f7d8cc352503c2fcab3e63349243880b976 (diff)
vim some minor cleanup
-rw-r--r--.config/nvim/init.vim11
-rw-r--r--.config/nvim/lua/after.lua6
-rw-r--r--.config/nvim/lua/opts.lua2
3 files changed, 9 insertions, 10 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 3fc0aef..6c49d67 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -16,15 +16,7 @@ if has('persistent_undo')
endif
lua require 'init'
-
-lua << EOF
-require 'colorizer'.setup {
- '*';
- '!vim';
- css = { rgb_fn = true; };
- html = { names = false; }
-}
-EOF
+lua require 'after'
let g:ascii = [
\ '',
@@ -43,4 +35,5 @@ let g:ascii = [
\ '',
\]
let g:startify_custom_header = startify#pad(g:ascii)
+
" autocmd FileType markdown lua require('cmp').setup.buffer { enabled = false }
diff --git a/.config/nvim/lua/after.lua b/.config/nvim/lua/after.lua
new file mode 100644
index 0000000..454acee
--- /dev/null
+++ b/.config/nvim/lua/after.lua
@@ -0,0 +1,6 @@
+require'colorizer'.setup {
+ '*';
+ '!vim';
+ css = { rgb_fn = true; };
+ html = { names = false; }
+}
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index 184900a..520184e 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -111,7 +111,7 @@ require'nvim-treesitter.configs'.setup {
require("toggleterm").setup{
-- size can be a number or function which is passed the current terminal
- size = 75,
+ size = 65,
open_mapping = [[<c-\>]],
hide_numbers = true, -- hide the number column in toggleterm buffers
persist_size = true,