diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:56:53 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:56:53 +0200 |
| commit | 0f6cee92221dc517bd756083e260dd9373851b82 (patch) | |
| tree | c6d929fa5832d17a2d1fe3c85744bae7621ed447 /common/nvim/lua/plugins/colorscheme.lua | |
| parent | 3cf613ec7c90ab4933728b0f19e49b0c955c17bb (diff) | |
| download | dotfiles-0f6cee92221dc517bd756083e260dd9373851b82.tar.gz dotfiles-0f6cee92221dc517bd756083e260dd9373851b82.zip | |
Moved files to common/
Diffstat (limited to 'common/nvim/lua/plugins/colorscheme.lua')
| -rwxr-xr-x | common/nvim/lua/plugins/colorscheme.lua | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/common/nvim/lua/plugins/colorscheme.lua b/common/nvim/lua/plugins/colorscheme.lua deleted file mode 100755 index 7fbabc1..0000000 --- a/common/nvim/lua/plugins/colorscheme.lua +++ /dev/null @@ -1,24 +0,0 @@ -local M = {} - --- List of preferred colorschemes in order of preference -local preferred_colorschemes = { - 'tokyonight', - 'desert', - 'default' -} - -function M.setup() - -- Try each colorscheme in order of preference - for _, scheme in ipairs(preferred_colorschemes) do - local ok = pcall(vim.cmd, 'colorscheme ' .. scheme) - if ok then - return true - end - end - - -- If all else fails, use the built-in default - vim.cmd('colorscheme default') - return true -end - -return M |
