Giter VIP home page Giter VIP logo

vim-material's Introduction

       _                                 _            _       _
__   _(_)_ __ ___        _ __ ___   __ _| |_ ___ _ __(_) __ _| |
\ \ / / | '_ ` _ \ _____| '_ ` _ \ / _` | __/ _ \ '__| |/ _` | |
 \ V /| | | | | | |_____| | | | | | (_| | ||  __/ |  | | (_| | |
  \_/ |_|_| |_| |_|     |_| |_| |_|\__,_|\__\___|_|  |_|\__,_|_|

vim-material

Visual Studio Code Material Theme port for Vim / Neovim.

  • supports true color terminal and gvim only.
  • supports treesitter.

Screenshot

Dark Dark

Light Light

Palenight Palenight

Oceanic Oceanic

Installation

Plug 'hzchirs/vim-material'

" nvim version < 8.0
Plug 'hzchirs/vim-material', { 'tag': 'v1.0' }

" Dark
set background=dark
colorscheme vim-material

" Palenight
let g:material_style='palenight'
set background=dark
colorscheme vim-material

" Oceanic
let g:material_style='oceanic'
set background=dark
colorscheme vim-material

" Light
set background=light
colorscheme vim-material

Airline

Colorscheme also include an Airline theme

let g:airline_theme='material'

License

MIT

vim-material's People

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

vim-material's Issues

Does not look same as the screenshot ?

Can you share the .vimrc file for the configuration shown in the screenshot.Also the when i open a python file and type if else statements it is not showing any color for if else statemenst

Doesn't look the same inside of tmux

This may be more of a tmux issue, but I have noticed that this theme doesn't look the same inside of a tmux session. Some themes do, but this one doesn't. Any ideas on why this may be?

README typo?

These two lines are incorrect

Plug 'hzchirs/vim-material

should be

Plug 'hzchirs/vim-material'

Theme doesn't work in standard terminal or iTerm2

I'm trying to use this theme but it's showing completely broken in both macOS terminal app and even iTerm2 🤔

At first I thought it might be something in my vim configuration, and then my bash configuration, and then even the terminal theme itself but nothing I do gets the colours to display how they're supposed to.

Example below...
Screenshot 2020-12-15 at 14 09 48

Any ideas what I might have configured incorrectly?

Thanks.

Invalid character in group name after lastest update : W18

Hi!

Firsts... thank you about your time to create this project

after the update of this plugin on neovim, this message persists. Can you help with this?

line 110: sourcing ".config/nvim/plugged/vim-material/colors/vim-material.vim"
                                                                                                              Error detected while processing function <SNR>12_hi:
line    2:
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
$:~/.config/nvim/plugged/vim-material$ git log --pretty=format:"%cn committed %h on %cd" -1
HzChris committed 4367f48 on Fri Dec 2 16:05:06 2022 +0800
$ nvim --version
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3

W18: Invalid character in group name after lastest update

Hello,

Thank you for this beautiful theme

After the last update, vim 8.2 and neovim 0.6.1 on Ubuntu 22.04 throw the following error

Error detected while processing /home/user/.vimrc[467]../home/user/.vim/plugged/vim-material/colors/vim-material.vim[249]..function <SNR>27_hi:
line    2:
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
...

neovim 0.8.0 on Arch does not have this problem though
Disabling the theme eliminates the warning

Could you kindly check what caused this error?
Thanks again

Not work on NeoVim

Hi! @hzchirs I'm beginner at vim world and i cannot install the theme on my nvim, I installed the plugin vim vim-plug and set the properties, my config bellow:

  1 " ------------------- Loading pluggins files -- "
  2 so ~/.config/nvim/plugins.vim
  3 
  4 
  5 " ------------------- Config ------------------ "
  6 set hidden
  7 set number
  8 set inccommand=split
  9 let mapleader="\<space>"
 10 
 11 set background=dark
 12 colorscheme vim-material
 13 
 14 " ------------------- Utils ------------------- "
 15 nnoremap <leader>; A;<esc>
 16 
 17 " ------------------- Mapping ----------------- "
 18 "\
 19 "\ Edit Config file
 20 "\
 21 nnoremap <leader>ev :vsplit ~/.config/nvim/init.vim<cr>
 22 nnoremap <leader>sv :so ~/.config/nvim/init.vim<cr>
 23 
 24 "\
 25 "\ Edit Plugin file
 26 "\
 27 nnoremap <leader>pv :tabedit ~/.config/nvim/plugins.vim<cr>

Change background color

Not so much an issue, more of a query: how can I change the background color when used with NVIM? Ideally I'd set it to the same colour as my iTerm config: #252625

Base16 theme available?

Hello, I really like your "Oceanic" theme!

Is it available as base16 theme?
I couldn't find it there under this name. If not, would you mind adding it there?

about Oceanic theme

Excuse me,
Oceanic theme have a separator that continuous line in your image, Others is discontinuous dotted line, but my Oceanic theme is dotted line? And icon of dir tree have no floder picture?
image

Implement `GitGutter` colors

Is there any way I can implement colors for the GitGutter plugin to show whenever a tracked file has changed?
Right now it looks like this and is kind of difficult to distinguish symbols:

Screen Shot 2020-08-19 at 12 28 06

Grouvox theme is doing something like this here:

" GitGutter: {{{

hi! link GitGutterAdd GruvboxGreenSign
hi! link GitGutterChange GruvboxAquaSign
hi! link GitGutterDelete GruvboxRedSign
hi! link GitGutterChangeDelete GruvboxAquaSign

" }}}

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.