fenetikm / falcon Goto Github PK
View Code? Open in Web Editor NEWA colour scheme for terminals, Vim and friends.
License: MIT License
A colour scheme for terminals, Vim and friends.
License: MIT License
Want to output kitty conf file iva Lush - previously been doing it manually.
I get this message when I start a new tmux session /home/<user>/.vim/plugged/falcon/tmux/falcon.tmux.conf:5: bad colour:
.
I'm using:
18.04LTS
3.28.2
2.6
Same as the plugins, pull in all the language settings, ideally in separate files in a languages
directory.
Currently, only the primary heading (prefixed with a single #) gets an orange highlight; subsequent headings (with multiple #'s), are white, which in my opinion does not contrast enough of the light grey body text.
Could you tweak the heading highlighting so subheaders are more easy to identify? Maybe use the same orange as the primary heading does, or the purplish tint of variables.
Thanks in advance!
The colouring in the terminal for various commands is wanting. Need to create LS_COLORS settings.
https://github.com/sharkdp/vivid This looks like it could do the trick.
Create LS_COLORS using that and/or create a PR for that repo.
Another popular plugin, similar to startify but for nvim: https://github.com/glepnir/dashboard-nvim
Tmux 2.9 was just released and it breaks the current colorscheme. Changes between tmux 2.8 and 2.9 can be found here: https://github.com/tmux/tmux/blob/master/CHANGES.
Amazing colorscheme, can't find a better one currently! Great job. Only things I am missing which result in inconsistent highlighting are built in LSP support and TreeSitter support on Neovim.
Is there a chance those could be added? Thanks!
Just did a recent install on a new computer and found that using Plug
to install the conf file will put it in the plugged directory like so:
source-file /path/to/falcon/tmux/falcon.tmux.conf
instead of
source-file /path/to/falcon/tmux/falcon.conf
Please change the install docs to reflect this!
Thank you :)
See screenshot below. The background starts out black and after sourcing my vimrc
file again it turns blueish.
Running neovim
, version NVIM v0.3.1
. My vimrc file can be found here: https://gist.github.com/KevinSjoberg/e555d585dc5de1ce79a7e061558f8724
EDIT: If I change my iTerm2 theme to falcon this issue disappear. Why is that?
Hey Michael! Sorry to bother again!
I've been using Falcon for a few weeks now and I'm loving it. Could I make a small suggestion?
I currently use some concealed chars in my JavaScript code and they currently look like this:
As you can see, right below render
, there's a backwards arrow that represents my return
. The current colorscheme does not apply a style to conecealed characters, so I get the weird combination above. I currently have hi! link Conceal Keyword
in my .vimrc
so the result is something like this:
I just wanted to ask you to put a color for concealed chars in falcon.vim :) Not sure if the Keyword is the best color for this, is just the easiest highlight group I can remember :P
Pretty easy this time ๐ฌ
Thank you!
First of all, thank you for your hard work with Falcon. I really do enjoy this very much! ๐
Would it be possible adding improved support for Elm? You can find the syntax file for it here, https://github.com/ElmCast/elm-vim/blob/master/syntax/elm.vim.
As a recent falcon convert, I'm using it everywhere. I hit a snag though with a syntax highlighting file I created myself:
https://github.com/aquatix/dotfiles/blob/master/.vim/syntax/todo.vim
This has highlighting with a light blue and purple for some elements. This works fine in Zenburn and a lot of other themes, but with falcon somehow the colours get dropped, and the text is rendered in white.
Is this intentional? If so, how can I override it? :) If not, what I can I do to help you fix my issue?
Not working with the latest version of ITerm2: Build 3.2.0beta3
Thanks for doing something.
Rgds,
hey @fenetikm!
Just set-up a new ubuntu machine, installed my vim config and was getting this error:
Error detected while processing /home/filipekiss/.dotfiles/sidekicks/vim/plugged/falcon/plugin/falcon.vim:
line 2:
E121: Undefined variable: g:colors_name
E15: Invalid expression: g:colors_name != "falcon"
Press ENTER or type command to continue
Looking around repo issues I came across #23 and then found 1fff7b3.
Changin line 2 to the code below gets rid of the error:
" Guard
if exists('g:colors_name') && g:colors_name != "falcon"
finish
endif
Hope this helps!
Opening a new terminal in Vim using the :terminal
command opens a new terminal window. Unfortunately, it does not have the Falcon colorscheme applied. In Neovim, it does.
Previously this was not possible in Vim, but it is now. See discussion over at vim/vim#2747 and see commit vim/vim@f59c6e8 for the actual implementation.
See :help g:terminal_ansi_colors
for more information.
Seems to be the new hotness in nvim statuslines: https://github.com/famiu/feline.nvim
Last part of the basic port to Lush - put in the NeoVim terminal colours, treesitter colours and scan around in other repos / docs for anything left over.
In my opinion, falcon is a lovely colour pallete.
I wonder however, about the use of red for mundane values in the syntax schemes.
To me red means "critical", "danger", maximum attention".
As such it should be reserved for errors and such.
What are your thoughts?
Another new popular plugin to support: https://github.com/hrsh7th/nvim-cmp
First of all, thanks for the amazing colorscheme!
The colorscheme is working great with treesitter and airline. However I notice with vim-sneak
I am getting this with the highlight groups:
I even tried to add the following sneak highlight config lines you have here: https://github.com/fenetikm/falcon/blob/master/colors/falcon.vim#L408-L409
directly to my init.vim and I am still seeing the same behavior. Any thoughts?
Seems like the tmux part of Falcon works on ubuntu, but I cannot get my shell or vim on my ubuntu machine to respect the colors set by falcon, is this not supported?
If not supported. what would it take to support this? More than happy to work on it but don't quite know where to start...
https://github.com/zdharma/fast-syntax-highlighting
This project enables syntax highlighting for zsh
with cutomizable themes. I can create the PR but I am really bad with selecting right colors from the pallete
Setting g:terminal_ansi_colors via the below in colors/falcon.vim causes coc.vim to throw an error on startup trying to use these values.
if exists('*term_setansicolors')
let g:terminal_ansi_colors = repeat([0], 16)
endif
Error detected while processing function <SNR>71_AddAnsiGroups:
line 18:
E254: Cannot allocate color 0
E254: Cannot allocate color 0
I've had to comment out this code to remove the error on startup.
Vim version: 8.2 (2019 Dec 12, compiled Feb 3 2020 01:40:55)
Platform: OS/X Catelina
Summary
Falcon colorscheme settings bleed into current colorscheme when falcon is installed, even when not set as the current colorscheme
.
To reproduce
call plug#begin()
Plug 'fenetikm/falcon'
Plug 'dracula/vim', { 'as': 'dracula' }
call plug#end()
colorscheme dracula
:PlugInstall
and restart vim:verbose hi Normal
Output:
Normal xxx ctermfg=249 guifg=#b4b4b9
Last set from ~/.config/nvim/plugged/falcon/plugin/falcon.vim
Even though falcon was never set as a colorscheme, it's settings are still applied. In particular, the background color appears to be overridden by falcon, whenever it is enabled.
To fix the issue, I can simply comment out the falcon Plug
line in the vim config.
This issue does not occur for any of the twenty or so other themes tested. The order of the Plug
entries does not have an impact either.
System Info
Are there any reason to not always set the background color as default, but only within a gui?
" from falcon/plugin/falcon.vim
" Put in a background colour for gui
if has("gui_running")
hi Normal guifg=#d4d4d9 ctermfg=188 guibg=#0b0b1a ctermbg=233 gui=NONE cterm=NONE
hi NonText guifg=#3e3e40 ctermfg=237 guibg=#0b0b1a ctermbg=233 gui=NONE cterm=NONE
endif
Here you can find color schemes which implement highlighting of tree-sitter groups
https://github.com/nvim-treesitter/nvim-treesitter/wiki/Colorschemes
Not sure if you care to add this to the readme or the wiki but I am using the following in my .bashrc
to set my command prompt:
# falcon terminal colors
Black="\[\e[033;38;2;0;0;2m\]" # colour 0: black
Red="\[\e[033;38;2;255;64;0m\]" # colour 1: red
Green="\[\e[033;38;2;89;128;51m\]" # colour 2: green
Yellow="\[\e[033;38;2;255;191;0m\]" # colour 3: yellow
Blue="\[\e[033;38;2;48;108;191m\]" # colour 4: blue
Orange="\[\e[033;38;2;255;128;0m\]" # colour 5: orange (usually magenta)
Cyan="\[\e[033;38;2;48;191;167m\]" # colour 6: cyan
Light_Gray="\[\e[033;38;2;212;212;217m\]" # colour 7: light gray
BoldBlack="\[\e[033;38;2;11;11;26m\]" # colour 8: bright black / bg colour
BoldRed="\[\e[033;38;2;255;121;76m\]" # colour 9: bright red
BoldGreen="\[\e[033;38;2;133;166;99m\]" # colour 10: bright green
BoldYellow="\[\e[033;38;2;255;217;102m\]" # colour 11: bright yellow
BoldBlue="\[\e[033;38;2;143;163;191m\]" # colour 12: bright blue / blue gray
BoldOrange="\[\e[033;38;2;255;172;89m\]" # colour 13: bright orange (usually magenta)
BoldCyan="\[\e[033;38;2;133;204;192m\]" # colour 14: bright cyan
BoldWhite="\[\e[033;38;2;253;253;255m\]" # colour 15: white
rst="\[\e[m\]"
cwd="$BoldBlue[\w]$rst" # current working directory enclosed in brackets
hist="$Orange\!$rst" # history entry number
prompt="$Light_Gray โโ> $rst"
export PS1="$cwd\n$hist$prompt"
Also, using the below settings in .minttyrc
to set the terminal colors:
ForegroundColour=253,253,255
BackgroundColour=11,11,26
CursorColour=212,212,217
Black=0,0,2
Red=255,64,0
Green=89,128,51
Yellow=255,191,0
Blue=48,108,191
Magenta=255,128,0
Cyan=48,191,167
White=212,212,217
BoldBlack=11,11,26
BoldRed=255,121,76
BoldGreen=133,166,99
BoldYellow=255,217,102
BoldBlue=143,163,191
BoldMagenta=255,172,89
BoldCyan=133,204,192
BoldWhite=253,253,255
Commit d9df1e4 introduces an error:
E518: Unknown option: winhighlight=Normal:ActiveWindow,NormalNC:InactiveWindow
When using vim instead of neovim.
Hi - It seems like in a recent update, the background colors were inverted for splits. Previously, the darker background would be on the split that I was currently editing and now it appears to be a gray color on the editing buffer and the black background on the other split. Is that intentional? I much preferred the dark background on the split that I was currently editing.
For v3, going to move to using https://github.com/rktjmp/lush.nvim as it supports programmatically defining everything that I want with Lua as the basis.
For this ticket, aim for setting it up and working with the base Vim / Neovim syntax groups.
Not sure why yet, will look into it.
Hi!
I really like the theme and I would like to use it but unfortunately I'm not using iTerm. Any chance to provide the theme for Terminal.app as well?
Cool theme but I would like to use it also in Visual Studio Code.
Any chance ?
Want to pull in all the plugin syntax highlighting using Lush. Ideally place them in separate files in a plugins
directory and iterate through them, loading them in.
Also, whilst we are here, set the NeoVim terminal colours.
Make it look perty: https://github.com/nvim-telescope/telescope.nvim
And another popular one: https://github.com/rcarriga/nvim-notify
I have added them to my .vimrc, just mentioning it for completeness.
Can you generate a official gtk and qt theme in omoox and push it to github?
Hey @fenetikm, thank you so much for Falcon! I love the colors.
I've tried to move my setup to use Falcon all around (NeoVim + iTerm2 + TMUX) and something seems odd and I hope you can point me to a direction to see what I am doing wrong.
When I move to a pane that does not have NeoVim open, the color doesn't seem to change for the inactive one:
I've checked to see if the autocmd
for the color change is working and it is. So I ran hi InactiveWindow guibg=yellow
and then this happens:
And when I move focus out of NeoVim to another pane:
(See how the last focused window at the bottom right corner is not yellow?)
So, two things: Is there a way to make the InactiveWindow bg be applied to the whole window/buffer and not just to the size of the file?
And second: Shouldn't all NeoVim buffers be marked as "inactive" when I'm on another Tmux pane?
Thank you so much for your help!
I recently discovered falcon and switched to it from Zenburn, which I have been using for a decade or so. I really like falcon!
However, I discovered a few issues, amongst which the inversion of highlighting of mis-spelled words with the vim spellcheck (for example in Markdown files). I'm used to words getting coloured orange when there's a mistake in them, but falcon makes the background some kind of salmon colour, and has the font in white. This results in an ugly and poorly readable highlight.
I would much prefer them to be highlighted in orange or something, with the background left alone.
Thanks for your consideration and let me know if I can help (with testing or something) or need to clarify further.
I followed the institutions and installed falcon using vim plugin. I added it to my .vimrc. but I don't get the right color-scheme. Im not sure if its okay to add a screen shot file to show my .vimrc and the color-scheme I get. Any help in fixing this is appreciated. My OS is MacBook pro 2013. Shell is the default bash.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.