mirror of
https://github.com/isabelroses/nvim.git
synced 2025-04-09 13:29:34 +00:00
feat: support justfiles
big ty for winston here
This commit is contained in:
parent
1b1fca045d
commit
d45f991610
5 changed files with 20 additions and 0 deletions
|
@ -216,6 +216,10 @@ src.git = "https://github.com/mbbill/undotree"
|
|||
fetch.github = "tpope/vim-fugitive"
|
||||
src.git = "https://github.com/tpope/vim-fugitive"
|
||||
|
||||
[vim-just]
|
||||
fetch.github = "NoahTheDuke/vim-just"
|
||||
src.git = "https://github.com/NoahTheDuke/vim-just"
|
||||
|
||||
[which-key]
|
||||
fetch.github = "folke/which-key.nvim"
|
||||
src.git = "https://github.com/folke/which-key.nvim"
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
hlsl = {};
|
||||
html = {};
|
||||
javascript = {};
|
||||
just = ts-generate;
|
||||
jsdoc = {};
|
||||
json = {};
|
||||
jsonc = {};
|
||||
|
|
|
@ -370,6 +370,10 @@ src.git = "https://github.com/tree-sitter/tree-sitter-java"
|
|||
fetch.git = "https://github.com/tree-sitter/tree-sitter-javascript"
|
||||
src.git = "https://github.com/tree-sitter/tree-sitter-javascript"
|
||||
|
||||
[tree-sitter-grammar-just]
|
||||
fetch.git = "https://github.com/IndianBoy42/tree-sitter-just"
|
||||
src.git = "https://github.com/IndianBoy42/tree-sitter-just"
|
||||
|
||||
[tree-sitter-grammar-jq]
|
||||
fetch.git = "https://github.com/flurie/tree-sitter-jq"
|
||||
src.git = "https://github.com/flurie/tree-sitter-jq"
|
||||
|
|
|
@ -276,6 +276,7 @@ in rec {
|
|||
|
||||
# misc
|
||||
undotree.src = srcs.undotree; # undo tree
|
||||
vim-just.src = srcs.vim-just; # justfile support
|
||||
|
||||
wakatime = {
|
||||
src = pkgs.vimPlugins.vim-wakatime; # track my time coding
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
return function()
|
||||
local C = require("catppuccin.palettes").get_palette()
|
||||
|
||||
local justfile = {
|
||||
icon = "",
|
||||
name = "Justfile",
|
||||
color = C.peach,
|
||||
}
|
||||
|
||||
local devicons = require("nvim-web-devicons")
|
||||
devicons.setup({
|
||||
override_by_filename = {
|
||||
|
@ -24,6 +30,10 @@ return function()
|
|||
name = "LuacheckRC",
|
||||
color = C.blue,
|
||||
},
|
||||
[".Justfile"] = justfile,
|
||||
[".justfile"] = justfile,
|
||||
["Justfile"] = justfile,
|
||||
["justfile"] = justfile,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue