Fix signcolumn
This commit is contained in:
parent
1d4fb6f177
commit
a8c3f0ca76
|
@ -1,6 +1,6 @@
|
||||||
require('plugins')
|
|
||||||
require('autopairs_config')
|
require('autopairs_config')
|
||||||
require('settings')
|
require('settings')
|
||||||
|
require('plugins')
|
||||||
require('lsp_config')
|
require('lsp_config')
|
||||||
require('telescope_config')
|
require('telescope_config')
|
||||||
require('mappings')
|
require('mappings')
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
vim.api.nvim_set_keymap("i", "jj", "<Esc>", {})
|
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", "j", "gj", {})
|
||||||
vim.api.nvim_set_keymap("n", "k", "gk", {})
|
vim.api.nvim_set_keymap("n", "k", "gk", {})
|
||||||
vim.api.nvim_set_keymap("n", "<S-k>", "<Nop>", {})
|
vim.api.nvim_set_keymap("n", "<S-k>", "<Nop>", {})
|
||||||
|
|
|
@ -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-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 {'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/plenary.nvim'}}}
|
||||||
use {'glacambre/firenvim', run = function() vim.fn['firenvim#install'](0) end}
|
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)
|
end)
|
||||||
|
|
|
@ -25,7 +25,6 @@ vim.opt.splitbelow = true
|
||||||
vim.opt.splitright = true
|
vim.opt.splitright = true
|
||||||
vim.opt.tabstop = 4
|
vim.opt.tabstop = 4
|
||||||
vim.opt.ttimeoutlen = 50
|
vim.opt.ttimeoutlen = 50
|
||||||
vim.g.signcolumn = "number"
|
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
vim.opt.undolevels = 1000
|
vim.opt.undolevels = 1000
|
||||||
vim.opt.undoreload = 10000
|
vim.opt.undoreload = 10000
|
||||||
|
@ -35,6 +34,7 @@ vim.g.mapleader = ","
|
||||||
vim.g.python_highlight_all = 1
|
vim.g.python_highlight_all = 1
|
||||||
vim.g.solarized_termcolors = 256
|
vim.g.solarized_termcolors = 256
|
||||||
vim.g.airline_powerline_fonts = 1
|
vim.g.airline_powerline_fonts = 1
|
||||||
|
vim.wo.signcolumn = "number"
|
||||||
|
|
||||||
-- Tab for completion
|
-- Tab for completion
|
||||||
vim.g.SuperTabContextDefaultCompletionType = "<c-n>"
|
vim.g.SuperTabContextDefaultCompletionType = "<c-n>"
|
||||||
|
|
Loading…
Reference in New Issue