Code Monkey home page Code Monkey logo

nofrils's Introduction

This is an extremely minimalist vim colorscheme (almost no syntax highlighting).

To use:

  • :colo nofrils-dark
  • :colo nofrils-light
  • :colo nofrils-sepia
  • :colo nofrils-acme

To customize:

  • :let g:nofrils_strbackgrounds=1 to turn highlighted string backgrounds, for languages where strings are a major part of them
  • :let g:nofrils_heavycomments=1 to turn on high contrast comments rather than the default faded style, for projects where the comments are not deceit and lies
  • :let g:nofrils_heavylinenumbers=1 to turn on brighter line numbers, for people who use relative line numbers to hop around

Commands (once theme is loaded):

  • :NofrilsDark use dark theme
  • :NofrilsLight use light theme
  • :NofrilsSepia use sepia theme
  • :NofrilsAcme use acme theme
  • :NofrilsFocusNormal reset back to normal settings
  • :NofrilsFocusCode focus only code, fade everything else
  • :NofrilsFocusComments focus only comments, fade everything else

The only highlighted elements are spelling, errors, comments, vim features (diff, etc) and optionally string backgrounds

Click for non-fuzzified versions

nofrils-dark: :let g:nofrils_heavylinenumbers=1, :let g:nofrils_strbackgrounds=1 and :let g:nofrils_heavycomments=1 Dark Version


nofrils-acme: :let g:nofrils_heavylinenumbers=0, :let g:nofrils_strbackgrounds=0 and :let g:nofrils_heavycomments=0 Acme Version


nofrils-sepia: :let g:nofrils_heavylinenumbers=1, :let g:nofrils_strbackgrounds=0 and :let g:nofrils_heavycomments=1 Sepia Version


nofrils-light: :let g:nofrils_heavylinenumbers=0, :let g:nofrils_strbackgrounds=0 and :let g:nofrils_heavycomments=1 Light Version


nofrils-acme: :let g:nofrils_heavylinenumbers=0, :let g:nofrils_strbackgrounds=0 and :let g:nofrils_heavycomments=0 Diffs Arcme Version


Why did you even create this thing? https://www.robertmelton.com/2016/03/13/syntax-highlighting-off/


Forks

nofrils's People

Contributors

hermanndppes avatar moorereason avatar nkantar avatar robertmeta avatar zekzekus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nofrils's Issues

GUI comment colours are not faded

Hi!

I'm a Neovim user who sets:

if has('nvim')
  set termguicolors
endif

See neovim/neovim#4690. It basically makes Neovim output 24-bit colours to terminals that support it. Since Vim has always allowed specifying full 24-bit hex codes for guifg and guibg, those are co-opted by Neovim in termguicolors=true mode. However, in (fake) GUI mode, nofrils doesn't differentiate comments and non-comments. And that's a little bit too nofrils for me ;).

" nofrils-dark
    hi Comment term=NONE cterm=NONE ctermfg=242 ctermbg=235 gui=NONE guifg=#eeeeee guibg=#262626
    hi Normal term=NONE cterm=NONE ctermfg=255 ctermbg=235 gui=NONE guifg=#eeeeee guibg=#262626

Notice how guibg and guifg are the same for both lines, but not ctermfg and ctermbg.

I'm not sure which color you meant for these exactly, so I'll leave it up to you :). Thanks for the colourscheme!

Selected tab vs selected item in command-mode are reversed

When using tabs, the black item is the unselected one.

Screenshot 2021-03-19 at 21 51 33

When completing results in command mode, the black item is the selected one. The black is also a different shade than I've seen used elsewhere.

Screenshot 2021-03-19 at 21 49 31

Perhaps it's intentional, but thought I'd open an issue just in case. ๐Ÿ™‚

Idea: documentation mode (invert code/comments)

Something I've wondered recently is how well nofrils would fair if the code was muted and comments made more prominent. A theme like this would pair really well with a documentation first approach to coding. Thoughts?

Compatibility with latest neovim

It seems that nofrils doesn't clean syntax highlighting on "statements" (and on other highlight grouprs) since the latest version of neovim.

I rather think it is a bug in neovim itself, but maybe someone else knows better

neovim/neovim#4767

Rust Source Code

There seems to be a problem when using doc comments (///) in rust code. Only when I activate another theme (e.g. nord) and switch back to nofrils doc comments are displayed correctly.

Need to set color background

If a light color scheme is applied, it makes sense to set background=light, which also allows for executing an auto-command based on the value of 'background'. So does for a dark color scheme.

terminal themes and more

I've made a terminal colour theme that goes well with nofrils-acme. I'll be updating this thread with similar themes for the other vim themes here. I'll also host these on my github separately later. Also, feel free to hit me up if you'd like any help off the top of my head (especially in using these).

! xresources colours; use https://terminal.sexy to convert to other formats
! special
*.foreground:   #101412
*.background:   #ffffd7
*.cursorColor:  #101412

! black
*.color0:       #424242
*.color8:       #a9a9a1

! red
*.color1:       #424242
*.color9:       #cd00cd

! green
*.color2:       #424242
*.color10:      #424242

! yellow
*.color3:       #424242
*.color11:      #424242

! blue
*.color4:       #424242
*.color12:      #cd00cd

! magenta
*.color5:       #af8700
*.color13:      #424242

! cyan
*.color6:       #699b9b
*.color14:      #424242

! white
*.color7:       #af8700
*.color15:      #101412

Blue theme

Got a couple requests for a blue colored theme.

Cursor color over tags is unexpected in light theme

This is the default cursor color when not over a tag
screenshot from 2018-11-14 10-36-56

Moving the cursor over the opening tag character < makes the cursor color white and the closing tag character > becomes black.
screenshot from 2018-11-14 10-36-59

Here the cursor is at the closing character >
screenshot from 2018-11-14 10-37-01

I don't know if it's just me but my brain expects that if the cursor color was black, it should remain black. It makes me think the cursor is over the character where the cursor color is black when instead it's on the other character.

The VisualNOS group is unreadable

The light themes all end up as black on purple which is unreadable, at least on my monitor it is.
At the moment I'm using hi! link VisualNOS Visual as a workaround but I think someone out there may want to know when vim doesn't own the selection anymore.

Diff Colors are hard to read

The nofrils-dark variant defines these colors for e.g., DiffText and Normal, which is pretty hard to read. This actually applies to all diff colors in the dark variant, possibly in other variants too.

Matching brackets

I feel like it could be a good idea if matching brackets were highlighted when your cursor is over them, as soon as I find what exactly allows that I'll try it out.

Vim on Windows has very bright backgrounds for all themes

I'm using Vim inside of PowerShell with the nofrils-dark theme. For some reason, I have a bright blue console background instead of the expected grey. You can see a small part of what I see below:

Small screencap of my Vim attached.

vim --version outputs this:

VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep  9 2019 23:38:44)
MS-Windows 64-bit GUI/console version with OLE support
Included patches: 1-2019
Compiled by stop_@LAPTOP-E7OHISR4
Huge version with GUI.  Features included (+) or not (-):
+acl                +eval               +multi_lang         +tcl/dyn
+arabic             +ex_extra           +mzscheme/dyn       +termguicolors
+autocmd            +extra_search       +netbeans_intg      +terminal
+autochdir          -farsi              +num64              -termresponse
+autoservername     +file_in_path       +ole                +textobjects
+balloon_eval       +find_in_path       +packages           +textprop
+balloon_eval_term  +float              +path_extra         -tgetent
+browse             +folding            +perl/dyn           +timers
++builtin_terms     -footer             +persistent_undo    +title
+byte_offset        +gettext/dyn        -postscript         +toolbar
+channel            -hangul_input       +printer            +user_commands
+cindent            +iconv/dyn          +profile            +vartabs
+clientserver       +insert_expand      +python/dyn         +vertsplit
+clipboard          +job                +python3/dyn        +virtualedit
+cmdline_compl      +jumplist           +quickfix           +visual
+cmdline_hist       +keymap             +reltime            +visualextra
+cmdline_info       +lambda             +rightleft          +viminfo
+comments           +langmap            +ruby/dyn           +vreplace
+conceal            +libcall            +scrollbind         +vtp
+cryptv             +linebreak          +signs              +wildignore
+cscope             +lispindent         +smartindent        +wildmenu
+cursorbind         +listcmds           +sound              +windows
+cursorshape        +localmap           +spell              +writebackup
+dialog_con_gui     +lua/dyn            +startuptime        -xfontset
+diff               +menu               +statusline         -xim
+digraphs           +mksession          -sun_workshop       +xpm_w32
+directx            +modify_fname       +syntax             -xterm_save
-dnd                +mouse              +tag_binary         
-ebcdic             +mouseshape         -tag_old_static     
+emacs_tags         +multi_byte_ime/dyn -tag_any_white      
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
       defaults file: "$VIMRUNTIME\defaults.vim"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL   -DFEAT_XPM_W32   -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG  /MD -DVIMDLL -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DGLOBAL_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python37.dll\" -DFEAT_MZSCHEME -I "..\..\..\libs\racket-7.3\include" -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracketxxxxxxx.dll\" -DDYNAMIC_MZGC_DLL=\"libmzgcxxxxxxx.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl530.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=26 -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby260.dll\" -DFEAT_HUGE /Fd.\ObjDXOULYHTRZVAMD64/ /Zi
Linking: link  /nologo /opt:ref /LTCG:STATUS /d2:-AllowCompatibleILVersions /HIGHENTROPYVA:NO oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib netapi32.lib u

I installed nofrils using vim-plug.

VSCode theme

FYI: I recently found a ported VSCode theme at https://github.com/urld/vscode-nofrills . I wanted to mention this in case you feel it is worth adding to your editor's list. Note: This is not my repo, so I can't personally vouch for it, although at a first glance it's dark theme seems to work reasonably.

Atom Fork

Has anyone forked it for atom, else I'd like to give that a shot :) (would be my first theme)

Edit: I've humbly started making something that's mostly like this and I really like using it so far, will put it to a test on some code the next days:
https://github.com/JonathanMH/nothrill-dark-syntax

Emacs version

Hi all!

I am a happy user of no-frils for several months now, and I wanted to use this opportunity to thanks the author for making it opensource.

My workflow made emacs my primary editor though (especially because of Coq) and I saw that an emacs version of this theme was planed (in a reddit thread). I wanted to know what is its status and if there is anything I can do to help. I am currently using the tao theme of emacs, which is great but each time I fallback in vim for some reason, I remember Iโ€™d rather prefere nofrils.

Once again, thanks for sharing your theme!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.