summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-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,