christianchiarulli vor 4 Jahren
Ursprung
Commit
f6e7eb755c
6 geänderte Dateien mit 15 neuen und 4 gelöschten Zeilen
  1. 1 0
      init.lua
  2. 2 1
      lua/lsp/bash-ls.lua
  3. 1 1
      lua/nv-autocommands/init.lua
  4. 1 1
      lua/nv-indentline/init.lua
  5. 4 0
      lua/nv-numb/init.lua
  6. 6 1
      lua/settings.lua

+ 1 - 0
init.lua

@@ -27,6 +27,7 @@ require('nv-floaterm')
 require('nv-vim-rooter')
 require('nv-vim-rooter')
 require('nv-matchup')
 require('nv-matchup')
 require('nv-lspkind')
 require('nv-lspkind')
+require('nv-numb')
 require('nv-hop')
 require('nv-hop')
 require('nv-gitblame')
 require('nv-gitblame')
 require('nv-nvim-peekup')
 require('nv-nvim-peekup')

+ 2 - 1
lua/lsp/bash-ls.lua

@@ -1,5 +1,6 @@
 -- npm i -g bash-language-server
 -- npm i -g bash-language-server
 require'lspconfig'.bashls.setup {
 require'lspconfig'.bashls.setup {
     cmd = {DATA_PATH .. "/lspinstall/bash/node_modules/.bin/bash-language-server", "start"},
     cmd = {DATA_PATH .. "/lspinstall/bash/node_modules/.bin/bash-language-server", "start"},
-    on_attach = require'lsp'.common_on_attach
+    on_attach = require'lsp'.common_on_attach,
+    filetypes = { "sh", "zsh" }
 }
 }

+ 1 - 1
lua/nv-autocommands/init.lua

@@ -47,7 +47,7 @@ utils.define_augroups({
     _buffer_bindings = {
     _buffer_bindings = {
         {'FileType', 'dashboard', 'nnoremap <silent> <buffer> q :q<CR>'},
         {'FileType', 'dashboard', 'nnoremap <silent> <buffer> q :q<CR>'},
         {'FileType', 'lspinfo', 'nnoremap <silent> <buffer> q :q<CR>'},
         {'FileType', 'lspinfo', 'nnoremap <silent> <buffer> q :q<CR>'},
-        {'FileType', 'floaterm', 'nnoremap <silent> <buffer> q :q<CR>'}
+        {'FileType', 'floaterm', 'nnoremap <silent> <buffer> q :q<CR>'},
     },
     },
     _auto_formatters = auto_formatters
     _auto_formatters = auto_formatters
 })
 })

+ 1 - 1
lua/nv-indentline/init.lua

@@ -1,5 +1,5 @@
 vim.g.indent_blankline_buftype_exclude = {'terminal'}
 vim.g.indent_blankline_buftype_exclude = {'terminal'}
-vim.g.indent_blankline_filetype_exclude = {'help', 'startify', 'dashboard', 'packer', 'neogitstatus'}
+vim.g.indent_blankline_filetype_exclude = {'man', 'help', 'startify', 'dashboard', 'packer', 'neogitstatus'}
 vim.g.indent_blankline_char = '▏'
 vim.g.indent_blankline_char = '▏'
 -- vim.g.indent_blankline_use_treesitter = true
 -- vim.g.indent_blankline_use_treesitter = true
 vim.g.indent_blankline_show_trailing_blankline_indent = false
 vim.g.indent_blankline_show_trailing_blankline_indent = false

+ 4 - 0
lua/nv-numb/init.lua

@@ -0,0 +1,4 @@
+require('numb').setup{
+   show_numbers = true, -- Enable 'number' for the window while peeking
+   show_cursorline = true -- Enable 'cursorline' for the window while peeking
+}

+ 6 - 1
lua/settings.lua

@@ -33,4 +33,9 @@ vim.wo.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shif
 vim.o.updatetime = 300 -- Faster completion
 vim.o.updatetime = 300 -- Faster completion
 vim.o.timeoutlen = 100 -- By default timeoutlen is 1000 ms
 vim.o.timeoutlen = 100 -- By default timeoutlen is 1000 ms
 vim.o.clipboard = "unnamedplus" -- Copy paste between vim and everything else
 vim.o.clipboard = "unnamedplus" -- Copy paste between vim and everything else
-vim.o.guifont = "JetBrainsMono\\ Nerd\\ Font\\ Mono:h18"
+-- vim.o.guifont = "JetBrainsMono\\ Nerd\\ Font\\ Mono:h18"
+-- vim.o.guifont = "Hack\\ Nerd\\ Font\\ Mono"
+-- vim.o.guifont = "SauceCodePro Nerd Font:h17"
+vim.o.guifont = "FiraCode Nerd Font:h17"
+
+-- vim.o.guifont = "JetBrains\\ Mono\\ Regular\\ Nerd\\ Font\\ Complete"