From d7d179cf026b1ee363003b0844194fa7a69deae8 Mon Sep 17 00:00:00 2001 From: fleur Date: Sat, 10 Sep 2022 00:45:40 +0200 Subject: [PATCH 1/4] Add vlang support (.v, .vsh, v.mod) (#77) --- lua/presence/file_assets.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/presence/file_assets.lua b/lua/presence/file_assets.lua index d2590f8..f906a28 100644 --- a/lua/presence/file_assets.lua +++ b/lua/presence/file_assets.lua @@ -113,6 +113,7 @@ return { ["requirements.txt"] = { "requirements.txt", "python" }, ["tailwind.config.js"] = { "Tailwind", "tailwind" }, ["terraform.rc"] = { "Terraform config", "terraform" }, + ["v.mod"] = { "v.mod", "vlang" }, ["watchman.json"] = { "Watchman config", "watchman" }, ["webpack.config.js"] = { "Webpack", "webpack" }, ["webpack.config.ts"] = { "Webpack", "webpack" }, @@ -254,6 +255,8 @@ return { tsx = { "React", "react" }, txt = { "Text file", "text" }, uc = { "UnrealScript", "unreal" }, + v = { "Vlang", "vlang" }, + vsh = { "Vlang shell script", "vlang" }, vb = { "Visual Basic", "visual_basic" }, vbp = { "Visual Basic project file", "visual_basic" }, vim = { "Vim", "vim" }, From a3f7c42a4a9cdbeed35fe36bbbe9062537727961 Mon Sep 17 00:00:00 2001 From: nullishamy Date: Fri, 9 Sep 2022 23:51:10 +0100 Subject: [PATCH 2/4] Add neo-tree to the list of file explorers (#72) --- lua/presence/file_explorers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/presence/file_explorers.lua b/lua/presence/file_explorers.lua index 9e66f92..d90ec58 100644 --- a/lua/presence/file_explorers.lua +++ b/lua/presence/file_explorers.lua @@ -4,5 +4,6 @@ return { ["NERD_tree_"] = "NERDTree", ["[defx] default-"] = "Defx", ["netrw"] = "Netrw", - ["TelescopePrompt"] = "Telescope" + ["TelescopePrompt"] = "Telescope", + ['neo-tree'] = 'Neotree' } From 03e09d3f9be8b3d9481d97d957c62d28b5850ab6 Mon Sep 17 00:00:00 2001 From: William Date: Fri, 9 Sep 2022 19:04:11 -0400 Subject: [PATCH 3/4] Add ability to disable the timer (#75) --- README.md | 2 ++ lua/presence/init.lua | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6d30a73..e2ee88c 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ require("presence"):setup({ blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "