Skip to content

Commit

Permalink
modify: diagnositcs
Browse files Browse the repository at this point in the history
  • Loading branch information
ttak0422 committed Jan 15, 2025
1 parent 3f35b18 commit 518569a
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 35 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fnl/gitsigns.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:col 1}]
(M.setup {:signcolumn true
:numhl true
:current_line_blame true
:current_line_blame false
:current_line_blame_formatter "<author> <author_time:%Y-%m-%d> - <summary>"
:sign_priority 6
:update_debounce 1000
Expand Down
50 changes: 21 additions & 29 deletions fnl/tiny-inline-diagnostic.fnl
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
((. (require :tiny-inline-diagnostic) :setup) {:signs {:left ""
:right ""
:diag " "
:arrow "  "
:up_arrow "  "
:vertical " │"
:vertical_end " └"}
:hi {:error :DiagnosticError
:warn :DiagnosticWarn
:info :DiagnosticInfo
:hint :DiagnosticHint
:arrow :NonText
:background :CursorLine
:mixing_color :None}
:blend {:factor 0.27}
:options {:show_source false
:throttle 20
:softwrap 15
:multiple_diag_under_cursor false
:multilines false
:show_all_diags_on_cursorline false
:overflow {:mode :none}
:format nil
:break_line {:enabled false
:after 30}
:virt_texts {:priority 2048}
:severity {vim.diagnostic.severity.ERROR vim.diagnostic.severity.WARN
vim.diagnostic.severity.INFO vim.diagnostic.severity.HINT}
:overwrite_events nil}})
(let [M (require :tiny-inline-diagnostic)
options {:show_source false
:use_icons_from_diagnostic false
:add_messages true
:throttle 150
:softwrap 30
:multiple_diag_under_cursor false
:multilines {:enabled false :always_show false}
:show_all_diags_on_cursorline false
:enable_on_insert false
:enable_on_select false
:overflow {:mode :wrap}
:break_line {:enabled false :after 30}
:format nil
:virt_texts {:priority 2048}
:severity [vim.diagnostic.severity.ERROR
vim.diagnostic.severity.WARN
vim.diagnostic.severity.INFO
vim.diagnostic.severity.HINT]
:overwrite_events nil}]
(M.setup {:preset :nonerdfont : options}))
2 changes: 1 addition & 1 deletion lua/autogen/gitsigns.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lua/autogen/tiny-inline-diagnostic.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 518569a

Please sign in to comment.