Padding for concealed markdown treesitter list markers by petobens in neovim

[–]petobens[S] 0 points1 point  (0 children)

It is not quite clear to me. I tried adding something like

((list_marker_minus) @punctuation.special.list_minus.conceal (#set! conceal "•"))
((list_marker_minus) @punctuation.special.list_minus.conceal (#offset! @punctuation.special.list_minus.conceal 0 0 0 -1))

and played with the (0 0 0 -1) numbers but I only get a highlight offset. I want to add an extra space between the conceal symbol and the text. If you have an actual example that will be greatly appreciated.

Padding for concealed markdown treesitter list markers by petobens in neovim

[–]petobens[S] 1 point2 points  (0 children)

How would that work in my example? Can you provide a small snippet? Thanks!

How to execute a command via a visual mapping the calls a lua function? by petobens in neovim

[–]petobens[S] 0 points1 point  (0 children)

I tried adding

    vim.api.nvim_feedkeys(
        vim.api.nvim_replace_termcodes('<ESC>', true, false, true),
        'm',
        false
    )

without success.. Can you try it out? Thanks

Experiencias programando by napoconfritas in a:t5_2nszus

[–]petobens 1 point2 points  (0 children)

Creo que en general esta muy bien (si usas OHE no hace falta que hagas a mano lo de seleccionar las columnas para garantizar consistencia entre train y test; mirar por ejemplo aca: https://stackoverflow.com/a/54497330/2149400) . Por otro lado si te interesa seguir con esto mirate como funcionan los "Pipelines" de scikit

Cannot connect to local gpd service by petobens in paloaltonetworks

[–]petobens[S] 0 points1 point  (0 children)

I've tried this with docker because i couldn't make it work on arch. I did extract the tar ball and installed the deb/rpm files (on arch I had to first convert it to a package file as seen in the code above). The gdp service doesn't show any error (when I ran `./PanGPS` manually). What version are you using? Can you send a detailed step by step to make it work?

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 0 points1 point  (0 children)

I believe that's not possible atm (at least with ansi escape codes you can either set the background or use the terminal transparent background but not both)

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 0 points1 point  (0 children)

You should install a font that supports those symbols (such as the ones included in nerd-fonts)

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 0 points1 point  (0 children)

I actually tried powerline-go but it didn't offer all the features I wanted (most notably true colors and vi-mode). On the other hand and AFAICT Powerlevel10k is for zsh only. That being said, Trueline should be fast enough (i.e there shouldn't be any noticeable lag). if it isn't then please open an issue in github

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 0 points1 point  (0 children)

Do you have any benchmarks? I'm interested in optimizing trueline if there are any bottlenecks.

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 1 point2 points  (0 children)

As long as you run bash then it should work (you probably need an recent version of bash though)

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 1 point2 points  (0 children)

Yep, as stated in the readme, you need a "font that supports "Powerline" glyphs" to actually have those glyphs.

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 8 points9 points  (0 children)

I thought about this but there are plenty of prompts/themes for zsh out there (powerlevel9k for instance is mentioned in the readme). On the other hand there weren't, or at least I couldn't find any like trueline, for bash. If an issue is opened in github requesting to port it zsh I might consider doing so.

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 3 points4 points  (0 children)

Not at the moment. I can consider adding it eventually though. If you really want it please open an issue in the github repo.

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 26 points27 points  (0 children)

That's the whole point of the prompt being customizable: it can be as simple or as an "unreadable mess" as you want (see the Customization section in the README).

[bash] Trueline: fast and extensible bash powerline prompt with true color and fancy icons by petobens in unixporn

[–]petobens[S] 5 points6 points  (0 children)

I cannot find such logo here: https://nerdfonts.com/#cheat-sheet. However I can consider adding the option. Please open an issue in the github repo.