This commit is contained in:
Mariano Uvalle 2022-01-14 19:19:10 -08:00
parent 24acdf848a
commit 3febfcbcb4
4 changed files with 26 additions and 2 deletions

View file

@ -1,10 +1,13 @@
vim.api.nvim_set_option('background', 'dark')
vim.api.nvim_set_option('termguicolors', true)
-- vim_current_word
-- colorscheme
vim.cmd([[
colorscheme palenight
highlight ColorColumn ctermbg=0 guibg=grey
hi CurrentWord guibg=#444444
hi CurrentWordTwins guibg=#606060
hi CursorLine guibg=#32384d
]])
-- BG color is #282D3F

View file

@ -36,3 +36,11 @@ vim.api.nvim_set_keymap('n', '<Leader>fb', '<cmd>Telescope file_browser<cr>',{})
vim.api.nvim_set_keymap('n', '<Leader>ps', '<cmd>Telescope live_grep<cr>',{})
-- Search among the currently open buffers.
vim.api.nvim_set_keymap('n', '<Leader>bs', '<cmd>Telescope buffers<cr>',{})
------ Trouble
vim.api.nvim_set_keymap("n", "<leader>lwd", "<cmd>Trouble workspace_diagnostics<cr>",
{silent = true, noremap = true}
) -- Mnemonic "lsp workspace diagnostics"
vim.api.nvim_set_keymap("n", "<leader>ldd", "<cmd>Trouble document_diagnostics<cr>",
{silent = true, noremap = true}
) -- Mnemonic "lsp document diagnostics"

View file

@ -60,7 +60,8 @@ vim.g.go_template_use_pkg = 1
-- Use a ruler for go files.
vim.cmd("autocmd FileType go setlocal colorcolumn=80")
-- Automatically add comment symbol on next line and wrap it.
vim.cmd("autocmd FileType go setlocal fo+=c fo+=r")
-- Highlights.
vim.g.go_highlight_operators = 1

View file

@ -38,6 +38,18 @@ return require('packer').startup(function(use)
requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}}
}
-- Diagnostics
-- Lua
use {
"folke/trouble.nvim",
requires = "kyazdani42/nvim-web-devicons",
config = function()
require("trouble").setup {
-- your configuration comes here
-- or leave it empty to use the default settings
}
end
}
-- Git symobls.
use {