diff options
author | Marco Galli <marco.galli@protonmail.com> | 2022-07-19 11:55:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-19 11:55:15 +0200 |
commit | e9a94692e52f948e92baae6ba2667e0d00065337 (patch) | |
tree | 3c89563cb514582df4ce84a3d6eaecf3435f26b1 | |
parent | 11f2d2c3e78ff2d0171cf93ff12fc1bfcc69ed1c (diff) |
Move colors init file to lua and remove call to non existent setup function (#4)
* Remove call to non existent `setup` function
* Move `colors/no-clown-fiesta.vim` to `.lua`
* Run stylua
-rw-r--r-- | colors/no-clown-fiesta.lua | 7 | ||||
-rw-r--r-- | colors/no-clown-fiesta.vim | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/colors/no-clown-fiesta.lua b/colors/no-clown-fiesta.lua new file mode 100644 index 0000000..1678131 --- /dev/null +++ b/colors/no-clown-fiesta.lua @@ -0,0 +1,7 @@ +for k in pairs(package.loaded) do + if k:match ".*no-clown-fiesta.*" then + package.loaded[k] = nil + end +end + +require "no-clown-fiesta" diff --git a/colors/no-clown-fiesta.vim b/colors/no-clown-fiesta.vim deleted file mode 100644 index 1843191..0000000 --- a/colors/no-clown-fiesta.vim +++ /dev/null @@ -1,7 +0,0 @@ -lua << EOF -for k in pairs(package.loaded) do - if k:match(".*no-clown-fiesta.*") then package.loaded[k] = nil end -end - -require('no-clown-fiesta').setup() -EOF |