mirror of
https://github.com/joshdick/onedark.vim.git
synced 2025-11-08 11:03:49 -05:00
chore: Update old "master" branch refernces to use "main" instead (#277)
This commit is contained in:
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
@@ -3,10 +3,10 @@ name: Validate Templates
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
12
README.md
12
README.md
@@ -1,10 +1,10 @@
|
||||

|
||||

|
||||
|
||||
A dark Vim/Neovim color scheme for the GUI and 16/256/true-color terminals, based on [FlatColor](https://github.com/MaxSt/FlatColor), with colors inspired by the excellent [One Dark syntax theme](https://github.com/atom/atom/tree/master/packages/one-dark-syntax) for the [Atom text editor](https://atom.io).
|
||||
|
||||
## Color Reference
|
||||
|
||||

|
||||

|
||||
|
||||
## Breaking Changes
|
||||
|
||||
@@ -91,7 +91,7 @@ onedark.vim includes support for the following Vim and Neovim plugins:
|
||||
|
||||
## lightline.vim Colorscheme
|
||||
|
||||

|
||||

|
||||
|
||||
This repository includes a companion [lightline.vim](https://github.com/itchyny/lightline.vim) colorscheme for use with onedark.vim.
|
||||
|
||||
@@ -114,7 +114,7 @@ let g:lightline = {
|
||||
|
||||
## vim-airline Theme
|
||||
|
||||

|
||||

|
||||
|
||||
This repository includes a companion [vim-airline](https://github.com/vim-airline/vim-airline) theme for use with onedark.vim.
|
||||
|
||||
@@ -138,7 +138,7 @@ let g:airline_theme='onedark'
|
||||
|
||||
### Why do the colors in terminal Vim look totally crazy?
|
||||
|
||||

|
||||

|
||||
|
||||
If Vim looks similar to the screenshot above, you have enabled Vim's 24-bit color terminal support, but your terminal doesn't support 24 bit color. Remove the relevant `~/.vimrc` configuration for enabling 24-bit color support to get things looking better.
|
||||
|
||||
@@ -172,7 +172,7 @@ However, you can use the `g:onedark_termcolors` option to control onedark.vim's
|
||||
|
||||
### Why do all comments look like they're highlighted?
|
||||
|
||||

|
||||

|
||||
|
||||
If all comments look like the one in the screenshot above, you have enabled italics in onedark.vim by setting `g:onedark_terminal_italics=1` in your `~/.vimrc`, but your terminal isn't displaying italics correctly. You can either remove the option or [try to fix your terminal](https://github.com/joshdick/onedark.vim/issues/97#issuecomment-299719352). If you're using [iTerm2](http://iterm2.com) on macOS, you might need to [use a special TERMINFO](https://gist.github.com/sos4nt/3187620) to get italics working.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
" Companion statusline plugin and terminal themes are included with onedark.vim:
|
||||
" * https://github.com/joshdick/onedark.vim#lightlinevim-colorscheme
|
||||
" * https://github.com/joshdick/onedark.vim#vim-airline-theme
|
||||
" * https://github.com/joshdick/onedark.vim/tree/master/term
|
||||
" * https://github.com/joshdick/onedark.vim/tree/main/term
|
||||
|
||||
" Color Reference {{{
|
||||
|
||||
@@ -59,7 +59,7 @@ let g:colors_name="onedark"
|
||||
" Set to "256" for 256-color terminals, or
|
||||
" set to "16" to use your terminal emulator's native colors
|
||||
" (a 16-color palette for this color scheme is available; see
|
||||
" < https://github.com/joshdick/onedark.vim/blob/master/README.md >
|
||||
" < https://github.com/joshdick/onedark.vim/blob/main/README.md >
|
||||
" for more information.)
|
||||
if !exists("g:onedark_termcolors")
|
||||
let g:onedark_termcolors = 256
|
||||
|
||||
Reference in New Issue
Block a user