gitty
This commit is contained in:
parent
7005b044de
commit
9b06a7cb5c
7
init.lua
7
init.lua
|
|
@ -231,8 +231,8 @@ vim.api.nvim_create_autocmd('TextYankPost', {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
local custom_git = require './lua/custom/git_links'
|
local git_links = require 'custom.git_links'
|
||||||
vim.keymap.set({ 'n', 'v' }, '<leader>go', custom_git.open_github, { desc = 'Open in GitHub' })
|
vim.keymap.set({ 'n', 'v' }, '<leader>go', git_links.open_github, { desc = 'Open in GitHub' })
|
||||||
|
|
||||||
-- [[ Install `lazy.nvim` plugin manager ]]
|
-- [[ Install `lazy.nvim` plugin manager ]]
|
||||||
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
|
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
|
||||||
|
|
@ -765,7 +765,8 @@ require('lazy').setup({
|
||||||
vim.diagnostic.config {
|
vim.diagnostic.config {
|
||||||
severity_sort = true,
|
severity_sort = true,
|
||||||
float = { border = 'rounded', source = 'if_many' },
|
float = { border = 'rounded', source = 'if_many' },
|
||||||
underline = { severity = vim.diagnostic.severity.ERROR },
|
-- underline = { severity = vim.diagnostic.severity.ERROR },
|
||||||
|
underline = true,
|
||||||
signs = vim.g.have_nerd_font and {
|
signs = vim.g.have_nerd_font and {
|
||||||
text = {
|
text = {
|
||||||
[vim.diagnostic.severity.ERROR] = ' ',
|
[vim.diagnostic.severity.ERROR] = ' ',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue