Compare commits
2 commits
3f5b09dd7d
...
5623d7c004
Author | SHA1 | Date | |
---|---|---|---|
Sanchayan Maity | 5623d7c004 | ||
Sanchayan Maity | d1ab3d43d6 |
|
@ -9,6 +9,8 @@
|
||||||
--format='%(HEAD) %(color:bold green)%(committerdate:relative)%(color:reset)|%(color:yellow)%(refname:short)%(color:reset)|%(subject)' \
|
--format='%(HEAD) %(color:bold green)%(committerdate:relative)%(color:reset)|%(color:yellow)%(refname:short)%(color:reset)|%(subject)' \
|
||||||
| head -n ${1:-15} | column -ts'|'; }; \
|
| head -n ${1:-15} | column -ts'|'; }; \
|
||||||
rb"
|
rb"
|
||||||
|
[branch]
|
||||||
|
sort = -committerdate
|
||||||
[blame]
|
[blame]
|
||||||
# Mark any lines that have had a commit skipped using --ignore-rev with a `?`
|
# Mark any lines that have had a commit skipped using --ignore-rev with a `?`
|
||||||
markIgnoredLines = true
|
markIgnoredLines = true
|
||||||
|
|
|
@ -16,7 +16,7 @@ local peek_definition = function()
|
||||||
end
|
end
|
||||||
|
|
||||||
local inlay_hint_toggle = function()
|
local inlay_hint_toggle = function()
|
||||||
vim.lsp.inlay_hint.enable(nil, not vim.lsp.inlay_hint.is_enabled())
|
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.InlayHintToggle = inlay_hint_toggle
|
_G.InlayHintToggle = inlay_hint_toggle
|
||||||
|
@ -242,7 +242,7 @@ local on_attach = function(client, bufnr)
|
||||||
end
|
end
|
||||||
|
|
||||||
if client.supports_method('textDocument/inlayHint') then
|
if client.supports_method('textDocument/inlayHint') then
|
||||||
vim.lsp.inlay_hint.enable(bufnr, false)
|
vim.lsp.inlay_hint.enable(false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue