Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ttak0422 committed Jul 30, 2024
1 parent 553c4d6 commit 53e5ec6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
7 changes: 2 additions & 5 deletions fnl/statuscol.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
segments [{:text ["%s"] :maxwidth 2 :click "v:lua.ScSa"}
{:text [M.builtin.lnumfunc] :click "v:lua.ScLa"}
{:text [" " M.builtin.foldfunc " "] :click "v:lua.ScFa"}]
statuses [:NeotestPassed :NeotestFailed :NeotestRunning :NeotestSkipped]]
(M.setup {:setopt true :relculright false : segments})
;; WIP: signの背景色を手動設定
(each [_ s (ipairs statuses)]
(vim.api.nvim_set_hl 0 s {:bg "#2a2a37"})))
ft_ignore []]
(M.setup {:setopt true :relculright false : ft_ignore : segments}))

;; 行数表示
(set vim.o.number true)
Expand Down
7 changes: 2 additions & 5 deletions lua/autogen/statuscol.lua

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

18 changes: 18 additions & 0 deletions main/after.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@ let
language = "vim";
code = read ../vim/after/ddu-ff-filter.vim;
};
NeogitStatus = {
language = "vim";
code = ''
setlocal foldcolumn=0
'';
};
NeogitCommitView = {
language = "vim";
code = ''
setlocal foldcolumn=0
'';
};
NeogitDiffView = {
language = "vim";
code = ''
setlocal foldcolumn=0
'';
};
};
in
{
Expand Down

0 comments on commit 53e5ec6

Please sign in to comment.