Comments (2)
Hi, sorry for not acknowleding your issue, it seemed to have vanished from my mind.
If I understood correctly:
- you have written your own theme (congrats :D)
- eovim loads, by default, the
default
theme - you would like that eovim loads your custom theme, without having to manually specify
--theme=/the/path/to/your/theme
.
Without modifying eovim
, I think there is no way around this.
I can understand this is indeed not very convenient.
A simple "solution" would be for eovim
to rely on an environment variable (e.g. EOVIM_THEME=/the/path/to/your/theme
) but I don't find it very "gracious".
Indeed, eovim is configured through vimscript, and I not quite happy with such "exceptions". Ideally, the theme could be provided through vimscript. However, this maybe require "hot-loading" the edje theme, I am not sure how difficult this is. I can try, though, it seems like a nice feature.
I'd propose the following use-case. Please let me know if you find it acceptable:
There should be two directories for themes:
<install_prefix>/eovim/themes/
: this one currently exists, but probably requires root permissions;<home>/.config/eovim/themes/
: this one does not exist, and would not require root permissions.
The list of available themes would be constructed as follows:
- read the .edj files in directory 1.
- read the .edj files in directory 2., overriding existing themes.
A theme could be selected through vimscript (i.e. init.vim) with:
let g:eovim_theme = "<theme name>"
Where <theme name>
would be something like default
or a custom name.
If g:eovim_theme
contains the path to a .edj
(e.g. /tmp/dev/theme.edj
) file, then this file is taken. So there would be two lookup options (ie. by name or by path).
from eovim.
Oh, and I would love to see the eovim theme tutorial you mentioned.
from eovim.
Related Issues (20)
- OpenSUSE Tumbleweed support HOT 2
- Can't load plugins HOT 2
- Use of --headless HOT 1
- neovim >=0.3.2 not working HOT 5
- eovim crashes when I run :checkhealth HOT 1
- Bindings for control+shift send control instead HOT 2
- no effect when setting guifont HOT 4
- Executable cannot find its installed libraries on 64bit OS X HOT 2
- Platform 'Debian GNU/Linux' is not supported by the setupt script. HOT 2
- No Ligatures support HOT 10
- Broken support for nvim < 0.4
- seg fault at start HOT 6
- Unusable on HiDPI display HOT 4
- Conform to fontconfig spec.
- Vertical alignment issue with splits, impacted by font weight setting HOT 4
- Theming HOT 1
- Segfault in a test completion HOT 7
- Unable to set guifont as normal HOT 2
- build system doesn't find a recent msgpack-c or msgpack-cxx (version 6) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eovim.