# HG changeset patch # User zegervdv # Date 1618072623 -7200 # Node ID c3ea313def61c34ca5b838d9ad1a21af39e0f268 # Parent 3b7ebcd563e1fb7dae27fbb81a4431fdf4f3eddf Set LSP signcolumn symbols diff -r 3b7ebcd563e1 -r c3ea313def61 dot_config/nvim/config.lua --- 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 = [[]], - 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'