changeset 381:c3ea313def61

Set LSP signcolumn symbols
author zegervdv <zegervdv@me.com>
date Sat, 10 Apr 2021 18:37:03 +0200
parents 3b7ebcd563e1
children 41a8b9f51e05
files dot_config/nvim/config.lua
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/dot_config/nvim/config.lua	Sat Apr 10 11:26:56 2021 +0200
+++ b/dot_config/nvim/config.lua	Sat Apr 10 18:37:03 2021 +0200
@@ -320,9 +320,8 @@
     'zegervdv/one-lush',
     requires = 'rktjmp/lush.nvim',
     config = function()
-      local lush = require('lush')
-      local spec = require('lush_theme.one-lush')
-      lush(spec)
+      require 'lush_theme.one-lush'
+      vim.cmd [[ colorscheme one-lush ]]
     end,
   }
 
@@ -331,9 +330,9 @@
     'akinsho/nvim-toggleterm.lua',
     config = function()
       require'toggleterm'.setup {
-        size = 20,
+        size = 15,
         open_mapping = [[<F12>]],
-        shade_filetypes = {},
+        shade_filetypes = { 'none' },
         shade_terminals = true,
         persist_size = true,
         direction = 'horizontal',
@@ -347,6 +346,10 @@
 end)
 
 -- LSP config
+vim.cmd [[ sign define LspDiagnosticsSignError text=▊ texthl=LspDiagnosticsSignError linehl= numhl= ]]
+vim.cmd [[ sign define LspDiagnosticsSignWarning text=▊ texthl=LspDiagnosticsSignWarning linehl= numhl= ]]
+vim.cmd [[ sign define LspDiagnosticsSignInformation text=▊ texthl=LspDiagnosticsSignInformation linehl= numhl= ]]
+vim.cmd [[ sign define LspDiagnosticsSignHint text=▊ texthl=LspDiagnosticsSignHint linehl= numhl= ]]
 
 local lsp = require 'lspconfig'
 local lsputil = require 'lspconfig.util'