Fix signcolumn

This commit is contained in:
Thomas Avé 2022-07-04 15:07:13 +02:00
parent 1d4fb6f177
commit a8c3f0ca76
4 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
require('plugins')
require('autopairs_config')
require('settings')
require('plugins')
require('lsp_config')
require('telescope_config')
require('mappings')

View File

@ -1,5 +1,4 @@
vim.api.nvim_set_keymap("i", "jj", "<Esc>", {})
vim.api.nvim_set_keymap("v", "jj", "<Esc>", {})
vim.api.nvim_set_keymap("n", "j", "gj", {})
vim.api.nvim_set_keymap("n", "k", "gk", {})
vim.api.nvim_set_keymap("n", "<S-k>", "<Nop>", {})

View File

@ -34,4 +34,9 @@ require('packer').startup(function(use)
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'}
use {'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/plenary.nvim'}}}
use {'glacambre/firenvim', run = function() vim.fn['firenvim#install'](0) end}
use {
"folke/trouble.nvim",
requires = "kyazdani42/nvim-web-devicons",
config = function() require("trouble").setup {} end
}
end)

View File

@ -25,7 +25,6 @@ vim.opt.splitbelow = true
vim.opt.splitright = true
vim.opt.tabstop = 4
vim.opt.ttimeoutlen = 50
vim.g.signcolumn = "number"
vim.opt.undofile = true
vim.opt.undolevels = 1000
vim.opt.undoreload = 10000
@ -35,6 +34,7 @@ vim.g.mapleader = ","
vim.g.python_highlight_all = 1
vim.g.solarized_termcolors = 256
vim.g.airline_powerline_fonts = 1
vim.wo.signcolumn = "number"
-- Tab for completion
vim.g.SuperTabContextDefaultCompletionType = "<c-n>"