Giter Club home page Giter Club logo

Comments (7)

Goku-San avatar Goku-San commented on June 26, 2024 1

Hello @sboldon, just saw this, hope its not to late.

I use airline. Have you checked the path to the airline theme ??
I used vim-plug to install the theme.

My path to the theme is
airline $HOME/.vim/autoload/plugged/material.vim/autoload/airline/themes/material.vim
lightline $HOME/.vim/autoload/plugged/material.vim/autoload/lightline/colorscheme/material_vim.vim

The paths for lightline and airline are different.
So check the path for the theme, for what ever plugin manager you use. This is just an idea.

I tired these settings ( yours ) from above and they work just fine.

let g:material_theme_style = 'palenight'
let g:material_terminal_italics = 1

Edit...

Also another idea... Since you use MacVim or even through terminal ( Itrem2, I believe), you don't need

if (has('termguicolors')) 
  set termguicolors
endif

Just go with set termguicolors and after that set background=dark.

from material.vim.

kaicataldo avatar kaicataldo commented on June 26, 2024

Would appreciate it if you just pasted the contents of init.vim into the issue. Thanks!

from material.vim.

sboldon avatar sboldon commented on June 26, 2024

I am having the same problem, using just regular vim not neovim.

from material.vim.

kaicataldo avatar kaicataldo commented on June 26, 2024

We'll need more details to debug this. What error are you seeing? What version of Vim are you using? What does the relevant part of your configuration look like?

from material.vim.

sboldon avatar sboldon commented on June 26, 2024

When trying :AirlineTheme material I get the error airline: There is an error in theme "material". If I attempt to set the theme with let g:airline_theme = 'material' in my vimrc, I get this error when starting vim airline: Could not resolve airline theme "material". Themes have been migrated to github.com/vim-airline/vim-airline-themes.

I'm using Vim 8.2 on Mac. Here's relevant vimrc settings for the plugin.

" ** kaicataldo/material.vim
set background=dark   
if (has('termguicolors')) 
  set termguicolors
endif

if !has('nvim')           
  let &t_ZH="\e[3m"
  let &t_ZR="\e[23m"
endif

let g:material_theme_style = 'palenight'
let g:material_terminal_italics = 1
colorscheme material

" ** vim-airline
let g:airline_theme = 'material'            
set laststatus=2                             
let g:airline_powerline_fonts = 1           
let g:airline_detect_paste = 1             
let g:airline#extensions#tabline#enabled = 1  
let g:airline#extensions#ale#enabled = 1       
let g:airline#extensions#hunks#non_zero_only = 1

Let me know if any other info would be helpful!

from material.vim.

kaicataldo avatar kaicataldo commented on June 26, 2024

Thank you. I wonder if someone who uses Airline can dig into this a bit? I haven't used it for years, so someone more familiar with it could probably get it done quicker!

Otherwise I'll try to fix it myself ASAP, but I'm currently pretty swamped.

from material.vim.

kaicataldo avatar kaicataldo commented on June 26, 2024

I'm going to go ahead and close this as a stale issue, but if anyone is still having issues please feel free to open a new one.

from material.vim.

Related Issues (20)

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.