Comments (19)
Can I just say I really enjoyed the comments, love it
let s:iconC = '🐮' " cow because its funny
let s:iconCSharp = '☪️ '
let s:iconCert = '🔑'
let s:iconChangelog = '🍁'
let s:iconClojure = '🦚' " icon based on the Programming Clojure Book's cover
from chadtree.
Ok so I managed to set up the CI pipeline to give my self automated branch creation whenever you update
from chadtree.
from chadtree.
@ms-jpq Nice. Thanks for your work on this!
from chadtree.
cool icons, i can add that as an option under iconset!
do you mind if i add you to the credits under special thanks ?
right now all icons & colours are imported statically via https://github.com/ms-jpq/chadtree/blob/chad/build.py so I guess when i have some time I can import yours that way too.
i could probably set up github action to do once daily import or something :D
from chadtree.
cool icons, i can add that as an option under iconset!
Thanks. Was a lot (still is) a lot of work to choose the right icons (or almost right).
do you mind if i add you to the credits under special thanks?
No problem. I'm really grateful.
right now all icons & colours are imported statically via https://github.com/ms-jpq/chadtree/blob/chad/build.py so I guess when i have some time I can import yours that way too.
i could probably set up github action to do once daily import or something :D
I think that this works. Also I think about a better way to provide something like this. We have this need also for the vim-clap plugin.
from chadtree.
Also I think about a better way to provide something like this
Actually there is no need to do that for me, I will do the dirty work. My plan is pretty simple, I will write CI automation that builds Neovim in a Docker image, execute the VimL from your plugin, and export out the icons.
I will do a diff, if the new icons are different, the CI should open a Pull Request for me to manually review just incase something breaks.
It will take me a while to write this however.
from chadtree.
Can I just say I really enjoyed the comments, love it
Thanks 😄
It will take me a while to write this however.
Nice. But no problem. I will wait for that so I can move from the NERDTree.
from chadtree.
do you notice this happening to other plugins?
Some Emojis seem double width, and I dont know how do u find out which ones are which ?
east_asian_width
apperantly doesn't work on emojis
edit: not so much double width as they are eating the single space behind them for some reason, probably because they are too big?
from chadtree.
The branch is here https://github.com/ms-jpq/chadtree/tree/emoji if you want to play with it
from chadtree.
do you notice this happening to other plugins?
Yes. This occurs with some emojis. My alternative was to add an extra space on the icon config, but with this occurs some rendering issues with some plugins. For now I keep without to evaluate.
The branch is here https://github.com/ms-jpq/chadtree/tree/emoji if you want to play with it
How fast. I will use that.
from chadtree.
wait no, Im no done with that yet, its just an evulation branch, I still need to make sure the folder icons and what not are also emojis or else they look odd.
anyways, I think we will need to figure out how to solve the spacing thing, its honestly kind of an eyesore if things are mis aligned, triggers my inner OCD
from chadtree.
I did an update on the plugin to deal with this for Markdown icon. What you think?
from chadtree.
Are you using iTerm? I notice that for each terminal these fonts have distinct behaviors. My last change makes Kitty terminal buggy.
from chadtree.
ya we need to figure out a terminal agnostic way to do this, emojis have werid rendering issues between terminals, I am using iTerm2
from chadtree.
Maybe related with kovidgoyal/kitty#2500 I will do some research on this. I'm trying to migrate from iTerm to Kitty and did notice this behavior:
The solution is for neovim to add support for unicode variation selectors.
from chadtree.
unicodedata doesn't seem to help in python.
and for neovim: nvim_strwidth
doesn't work either, it gives 1
for ⬇️
and 10
for 🏳️🌈
.
from chadtree.
and for neovim: nvim_strwidth doesn't work either, it gives 1 for ⬇️ and 10 for 🏳️🌈.
Wait... is it binary?! Maybe this the problem on NeoVim. I don't know to say about Vim. I will take a look on that.
from chadtree.
So I merged support for using full iconset into main, I just commented out all references to it in the README, I will add it back in when we work out the kinks.
in the main time you can do to use it by doing
lua vim.api.nvim_set_var("chadtree_settings", { use_icons = "emoji" })
from chadtree.
Related Issues (20)
- Hide statusline for Chadtree
- Error when opening markdown files
- Error while installing
- How to set bufferline integrated with chadtree
- Can we get some sort of way to *close* CHADtree?
- Is there any way to set the background of the chadtree's split?
- NERDTree-like ability to open parent directory
- Correct handling of symlinks?
- attempt to index field "api|g" (a nil value) error.
- Exception when closing the window using q
- trash-cli error when sending file to trash
- CHADtree "Failed to start server: no such file or directory" Error on opening vim HOT 1
- Error: Invalid Window id: 1113 when renaming current editing buffer
- Feature Request: add indent line
- Feature Request: allow `CHADopen` accept a dir parameter and start under that folder (not always current dir)
- Missing features HOT 1
- DirEntry subscriptable
- Bold claims in the readme
- Question: How do I get a terminal like this showcase? HOT 2
- Breaks ability to run "nvim ." HOT 1
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 chadtree.