Skip to content

Commit 92d2f51

Browse files
committed
feat(fennel-migration): lots of new stuff as well; monolithic
mega-commit
1 parent 459e3b3 commit 92d2f51

File tree

149 files changed

+13905
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+13905
-0
lines changed

.fennelrc.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"diagnostics": {
3+
"globals": [
4+
"vim",
5+
"set-forcibly!"
6+
]
7+
}
8+
}

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "tangerine.nvim"]
2+
path = tangerine.nvim
3+
url = [email protected]:udayvir-singh/tangerine.nvim

.nfnl.fnl

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{:source-file-patterns ["fnl/**/*.fnl"]}

fnl/colorschemes/catpuccin.fnl

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
(local catppuccino (require :catppuccin))
2+
3+
(catppuccino.setup {:integrations {:barbar false
4+
:bufferline true
5+
:dashboard false
6+
:fern false
7+
:gitgutter false
8+
:gitsigns true
9+
:hop true
10+
:indent_blankline {:colored_indent_levels false
11+
:enabled false}
12+
:lightspeed false
13+
:lsp_saga true
14+
:lsp_trouble true
15+
:markdown true
16+
:native_lsp {:enabled true
17+
:underlines {:errors :undercurl
18+
:hints :underdotted
19+
:information :underline
20+
:warnings :underdouble}
21+
:virtual_text {:errors :italic
22+
:hints :italic
23+
:information :italic
24+
:warnings :italic}}
25+
:neogit true
26+
:nvimtree {:enabled false :show_root false}
27+
:telescope true
28+
:treesitter true
29+
:ts_rainbow true
30+
:vim_sneak false
31+
:which_key true}
32+
:styles {:comments :italic
33+
:functions "bold,italic"
34+
:keywords :bold
35+
:strings :NONE
36+
:variables :italic}
37+
:term_colors false
38+
:transparent_background false})
39+

fnl/colorschemes/init.fnl

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(require :colorschemes.kat)
2+
3+
(require :colorschemes.neon)
4+
5+
(require :colorschemes.tokyonight)
6+

fnl/colorschemes/kat.fnl

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(local opts {:kat_nvim_commentStyle :italic
2+
:kat_nvim_integrations [:lsp :treesitter :ts_rainbow :cmp]
3+
:kat_nvim_stupidFeatures true})
4+
5+
(each [key value (pairs opts)] (vim.api.nvim_set_var key value))
6+

fnl/colorschemes/neon.fnl

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
(local opts {:neon_bold true
2+
:neon_italic_functions true
3+
:neon_italic_keyword true
4+
:neon_italic_variable true
5+
:neon_style :dark
6+
:neon_transparent false})
7+
8+
(each [key value (pairs opts)] (vim.api.nvim_set_var key value))
9+

fnl/colorschemes/onedarkpro.fnl

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
(local my _G.my)
2+
(local onedarkpro (require :onedarkpro))
3+
4+
(local odp-utils (require :onedarkpro.utils))
5+
6+
(onedarkpro.setup {:colors {:bg my.color.my.dark
7+
:black my.color.my.dark
8+
:blue my.color.my.blue
9+
:color_column ((. odp-utils
10+
(or (and (= (vim.opt.background:get)
11+
:dark)
12+
:lighten)
13+
:darken)) my.color.my.dark
14+
0.98)
15+
:comment ((. odp-utils
16+
(or (and (= (vim.opt.background:get)
17+
:dark)
18+
:lighten)
19+
:darken)) my.color.my.dark
20+
0.8)
21+
:cursorline ((. odp-utils
22+
(or (and (= (vim.opt.background:get)
23+
:dark)
24+
:lighten)
25+
:darken)) my.color.my.dark
26+
0.97)
27+
:cyan my.color.my.aqua
28+
:fg my.color.my.light
29+
:gray (odp-utils.lighten my.color.my.dark 0.5)
30+
:green my.color.my.green
31+
:highlight my.color.my.yellow
32+
:indentline ((. odp-utils
33+
(or (and (= (vim.opt.background:get)
34+
:dark)
35+
:lighten)
36+
:darken)) my.color.my.dark
37+
0.93)
38+
:menu ((. odp-utils
39+
(or (and (= (vim.opt.background:get)
40+
:dark)
41+
:lighten)
42+
:darken)) my.color.my.dark
43+
0.95)
44+
:menu_scroll ((. odp-utils
45+
(or (and (= (vim.opt.background:get)
46+
:dark)
47+
:lighten)
48+
:darken)) my.color.my.dark
49+
0.9)
50+
:menu_scroll_thumb ((. odp-utils
51+
(or (and (= (vim.opt.background:get)
52+
:dark)
53+
:lighten)
54+
:darken)) my.color.my.blue
55+
0.8)
56+
:orange my.color.my.orange
57+
:purple my.color.my.purple
58+
:red my.color.my.red
59+
:selection ((. odp-utils
60+
(or (and (= (vim.opt.background:get)
61+
:dark)
62+
:lighten)
63+
:darken)) my.color.my.dark
64+
0.9)
65+
:white my.color.my.light
66+
:yellow my.color.my.yellow}
67+
:options {:bold true
68+
:cursorline true
69+
:italic true
70+
:terminal_colors true
71+
:transparency false
72+
:undercurl true
73+
:underline true
74+
:window_unfocused_color true}
75+
:styles {:comments :italic
76+
:functions "italic,bold"
77+
:keywords :bold
78+
:strings :NONE
79+
:variables :italic}})
80+

fnl/colorschemes/papercolorslim.fnl

Whitespace-only changes.

fnl/colorschemes/tokyonight.fnl

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
(local opts {:tokyonight_italic_functions true
2+
:tokyonight_sidebars [:qf
3+
:vista_kind
4+
:terminal
5+
:packer
6+
:symbols_outline
7+
:aerial
8+
:trouble]
9+
:tokyonight_style :night})
10+
11+
(each [key value (pairs opts)] (vim.api.nvim_set_var key value))
12+

fnl/keymappings/init.fnl

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
(local my _G.my)
2+
3+
(my.io.apply_keymaps :n (require :keymappings.normal))
4+
5+
(my.io.apply_keymaps :i (require :keymappings.insert))
6+
7+
(my.io.apply_keymaps :t (require :keymappings.terminal))
8+
9+
(my.io.apply_keymaps :v (require :keymappings.visualselect))
10+
11+
(my.io.apply_keymaps :o (require :keymappings.operator))
12+
13+
(my.io.apply_keymaps :x (require :keymappings.visual))
14+

fnl/keymappings/insert.fnl

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
(local M [[:<C-Del> "<cmd>lua require(\"notify\").dismiss()<cr>"]
2+
[:<C-h> :<C-o>B]
3+
[:<C-l> :<C-o>W]
4+
[:<C-k> "<cmd>lua vim.lsp.buf.signature_help()<CR>"]])
5+
6+
M
7+

0 commit comments

Comments
 (0)