dotfiles
bugabingas dorkfiles
owned by bugabinga
neovim: adds treesitter for nushell
bd6cf27b91fab0f61a25c9402a9963fe530556bf
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (7)
neovim/lazy-lock.json
Modified+10 / −9 text lines
16 16 "dressing.nvim": {
"branch":
"master",
"commit":
"6f212262061a2120e42da0d1e87326e8a41c0478" },
17 17 "flash.nvim": {
"branch":
"main",
"commit":
"48817af25f51c0590653bbc290866e4890fe1cbe" },
18 18 "friendly-snippets": {
"branch":
"main",
"commit":
"dcd4a586439a1c81357d5b9d26319ae218cc9479" },
19 - "gen.nvim": {
"branch":
"main",
"commit":
"a6cc144ccd885a6ba104e8285a37e6ab627eda78" },
19 + "gen.nvim": {
"branch":
"main",
"commit":
"bfcdd078d3a50106c2d0703297766a81e383acb0" },
20 20 "gitsigns.nvim": {
"branch":
"main",
"commit":
"2c2463dbd82eddd7dbab881c3a62cfbfbe3c67ae" },
21 21 "glow.nvim": {
"branch":
"main",
"commit":
"238070a686c1da3bccccf1079700eb4b5e19aea4" },
22 22 "heirline.nvim": {
"branch":
"master",
"commit":
"03cff30d7e7d3ba6fdc00925f015822f79cef908" },
33 33 "mini.starter": {
"branch":
"main",
"commit":
"ce222a5b6de50a9963c1eb62aa16ec6d5efca7ee" },
34 34 "mkdir.nvim": {
"branch":
"main",
"commit":
"c55d1dee4f099528a1853b28bb28caa802eba217" },
35 35 "neodev.nvim": {
"branch":
"main",
"commit":
"84e0290f5600e8b89c0dfcafc864f45496a53400" },
36 - "neogen": {
"branch":
"main",
"commit":
"70127baaff25611deaf1a29d801fc054ad9d2dc1" },
36 + "neogen": {
"branch":
"main",
"commit":
"b95347a588401a755eadd17482edc1662876bd58" },
37 37 "nrpattern.nvim": {
"branch":
"master",
"commit":
"f862ce687761078ef3155688151c55f69d28453e" },
38 - "nui.nvim": {
"branch":
"main",
"commit":
"c3c7fd618dcb5a89e443a2e1033e7d11fdb0596b" },
38 + "nui.nvim": {
"branch":
"main",
"commit":
"fbb139c6f14896b434d0229099e1acd863ae6bec" },
39 39 "nvim-autopairs": {
"branch":
"master",
"commit":
"c6139ca0d5ad7af129ea6c89cb4c56093f2c034a" },
40 40 "nvim-cmp": {
"branch":
"main",
"commit":
"04e0ca376d6abdbfc8b52180f8ea236cbfddf782" },
41 41 "nvim-colorizer.lua": {
"branch":
"master",
"commit":
"85855b38011114929f4058efc97af1059ab3e41d" },
46 46 "nvim-neoclip.lua": {
"branch":
"main",
"commit":
"798cd0592a81c185465db3a091a0ff8a21af60fd" },
47 47 "nvim-spectre": {
"branch":
"master",
"commit":
"e7db8ebca7fd0a604027ebf85acee52f6642c91c" },
48 48 "nvim-surround": {
"branch":
"main",
"commit":
"84a26afce16cffa7e3322cfa80a42cddf60616eb" },
49 - "nvim-tree.lua": {
"branch":
"master",
"commit":
"d52fdeb0a300ac42b9cfa65ae0600a299f8e8677" },
50 - "nvim-treesitter": {
"branch":
"master",
"commit":
"84daea50b1e53bce085b27fe44204708fc8b1d96" },
51 - "nvim-treesitter-textobjects": {
"branch":
"master",
"commit":
"95933e762e28f9d38b572d65e7e4da9d2f4d90cb" },
49 + "nvim-tree.lua": {
"branch":
"master",
"commit":
"efafd73efa9bc8c26282aed563ba0f01c7465b06" },
50 + "nvim-treesitter": {
"branch":
"master",
"commit":
"70f03829afa31f8b619b56296cdcaa921118d912" },
51 + "nvim-treesitter-textobjects": {
"branch":
"master",
"commit":
"3532f6095efd4723f7c066a5ac3fe632506cc09e" },
52 52 "nvim-ts-autotag": {
"branch":
"main",
"commit":
"531f48334c422222aebc888fd36e7d109cb354cd" },
53 53 "nvim-ts-context-commentstring": {
"branch":
"main",
"commit":
"7ab799a9792f7cf3883cf28c6a00ad431f3d382a" },
54 - "nvim-web-devicons": {
"branch":
"master",
"commit":
"0bb67ef952ea3eb7b1bac9c011281471d99a27bc" },
54 + "nvim-web-devicons": {
"branch":
"master",
"commit":
"4adea17610d140a99c313e3f79a9dc01825d59ae" },
55 55 "nvim-window": {
"branch":
"main",
"commit":
"e7f5d60eeec8ff37af7be4c9a99f65edf67fc574" },
56 - "oil.nvim": {
"branch":
"master",
"commit":
"132b4ea0740c417b9d717411cab4cf187e1fd095" },
56 + "oil.nvim": {
"branch":
"master",
"commit":
"c437f3c5b0da0a9cc6a222d87212cce11b80ba75" },
57 57 "persistence.nvim": {
"branch":
"main",
"commit":
"4982499c1636eac254b72923ab826ee7827b3084" },
58 58 "playground": {
"branch":
"master",
"commit":
"ba48c6a62a280eefb7c85725b0915e021a1a0749" },
59 59 "plenary.nvim": {
"branch":
"master",
"commit":
"4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" },
60 - "schemastore.nvim": {
"branch":
"main",
"commit":
"9bc9a3a19dc6047d79d6073082f3b0deb7002c99" },
60 + "schemastore.nvim": {
"branch":
"main",
"commit":
"d91daa5bf63c409f9e752e55082c3ba088b04c0b" },
61 61 "specs.nvim": {
"branch":
"main",
"commit":
"2743e412bbe21c9d73954c403d01e8de7377890d" },
62 62 "speedtyper.nvim": {
"branch":
"main",
"commit":
"2d158eed4c753995b0501a3a7a72464fbb213e3d" },
63 63 "ssr.nvim": {
"branch":
"main",
"commit":
"bb323ba621ac647b4ac5638b47666e3ef3c279e1" },
69 69 "telescope.nvim": {
"branch":
"0.1.x",
"commit":
"d90956833d7c27e73c621a61f20b29fdb7122709" },
70 70 "todo-comments.nvim": {
"branch":
"main",
"commit":
"833d8dd8b07eeda37a09e99460f72a02616935cb" },
71 71 "toggleterm.nvim": {
"branch":
"main",
"commit":
"193786e0371e3286d3bc9aa0079da1cd41beaa62" },
72 + "tree-sitter-nu": {
"branch":
"main",
"commit":
"7dd29f9616822e5fc259f5b4ae6c4ded9a71a132" },
72 73 "treesj": {
"branch":
"main",
"commit":
"60e27280030f9cd8dfb6ceb335922c6ff76682cc" },
73 74 "twilight.nvim": {
"branch":
"main",
"commit":
"8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },
74 75 "virt-column.nvim": {
"branch":
"master",
"commit":
"b62b4ef0774d19452d4ed18e473e824c7a756f2f" },
neovim/lua/bugabinga/plugins/treesitter.lua
Modified+2 / −0 text lines
30 30 'windwp/nvim-ts-autotag',
31 31 'nvim-treesitter/playground',
32 32 'nvim-treesitter/nvim-treesitter-textobjects',
33 + 'nushell/tree-sitter-nu',
34 35 config = function ()
35 36 local install
= require 'nvim-treesitter.install' nushell/modules/prompt.nu
Modified+3 / −3 text lines
26 26 def set-window-title [] {
28 - let pwd = (
$env.PWD | path expand )
29 - let icon =
if (icons | any { |icon|
$icon.path ==
$pwd } ) { ( icons |
where path ==
$pwd | get icon.
0 ) }
else { $
"(char nf_folder1)" }
31 28 if (
$env | get -i TERM_PROGRAM) == WezTerm {
30 + let pwd = (
$env.PWD | path expand )
31 + let icon =
if (icons | any { |icon|
$icon.path ==
$pwd } ) { ( icons |
where path ==
$pwd | get icon.
0 ) }
else { $
"(char nf_folder1)" }
32 32 echo ([ (ansi title)
$icon " " (
$pwd | path basename ) (ansi reset) ] | str join)
starship/starship.toml
Addednew file mode 100644+52 / −0 text lines
2 +success_symbol =
' (dimmed green)' 4 +error_symbol =
' (dimmed red)' 8 +truncation_symbol =
'⋯ /' 10 +truncation_length =
5 14 +style =
'dimmed yellow' 25 +style =
"dimmed cyan" 29 +style =
"dimmed cyan" 32 +style =
"dimmed yellow" 35 +style =
"dimmed blue" 40 +format =
"$symbol $ram_pct ($style)" 43 +style =
"dimmed gray" 47 +charging_symbol =
"⚡️ " 48 +discharging_symbol =
"💀 " starship/starship.toml.EJ-PC-00363
Deleteddeleted file mode 100644+0 / −43 text lines
2 -success_symbol = ' (dimmed green)'
3 -# does not work yet in nushell
4 -error_symbol = ' (dimmed red)'
8 -truncation_symbol = '⋯ /'
10 -truncation_length = 5
14 -style = 'dimmed yellow'
25 -style = "dimmed cyan"
29 -style = "dimmed cyan"
32 -style = "dimmed yellow"
35 -style = "dimmed blue"
40 -format = "$symbol $ram_pct ($style)"
43 -style = "dimmed gray"
starship/starship.toml.pop-os
Deleteddeleted file mode 100644+0 / −43 text lines
2 -success_symbol = ' (dimmed green)'
3 -# does not work yet in nushell
4 -error_symbol = ' (dimmed red)'
8 -truncation_symbol = '⋯ /'
10 -truncation_length = 5
14 -style = 'dimmed yellow'
25 -style = "dimmed cyan"
29 -style = "dimmed cyan"
32 -style = "dimmed yellow"
35 -style = "dimmed blue"
40 -format = "$symbol $ram_pct ($style)"
43 -style = "dimmed gray"
starship/starship.toml.x230
Deleteddeleted file mode 100644+0 / −52 text lines
2 -success_symbol = ' (dimmed green)'
3 -# does not work yet in nushell
4 -error_symbol = ' (dimmed red)'
8 -truncation_symbol = '⋯ /'
10 -truncation_length = 5
14 -style = 'dimmed yellow'
25 -style = "dimmed cyan"
29 -style = "dimmed cyan"
32 -style = "dimmed yellow"
35 -style = "dimmed blue"
40 -format = "$symbol $ram_pct ($style)"
43 -style = "dimmed gray"
47 -charging_symbol = "⚡️ "
48 -discharging_symbol = "💀 "