Skip to content

Configuration

Aditya Sengupta edited this page Jun 25, 2021 · 3 revisions

Options

In order to change these options, type lua vim.g.codeschool_(option) = '(value)' in your init.vim or just lua vim.g.codeschool_(option) = '(value)' in your init.lua file (with quotes) before the cmd('colorscheme codeschool') statement.

vim.gcodeschool_bold

Enables bold text. default: 1

vim.gcodeschool_italic

Enables italic text. default: gui 1, term 0

vim.gcodeschool_transparent_bg

Enables transparent background. default: 0

vim.gcodeschool_underline

Enables underlined text. default: 1

vim.gcodeschool_undercurl

Enables undercurled text. default: 1

vim.gcodeschool_termcolors

Uses 256-color palette (suitable to pair with codeschool-palette shell script). If you're dissatisfied with that, set option value to 16 to fallback base colors to your terminal palette. default: 256

vim.gcodeschool_contrast_dark

Changes dark mode contrast. Overrides vim.gcodeschool_contrast option. Possible values are soft, medium and hard. default: medium

vim.gcodeschool_contrast_light

Changes light mode contrast. Overrides vim.gcodeschool_contrast option. Possible values are soft, medium and hard. default: medium

vim.gcodeschool_hls_cursor

Changes cursor background while search is highlighted. Possible values are any of codeschool palette. default: orange

vim.gcodeschool_number_column

Changes number column background color. Possible values are any of codeschool palette. default: none

vim.gcodeschool_sign_column

Changes sign column background color. Possible values are any of codeschool palette. default: bg1

vim.gcodeschool_color_column

Changes color column background color. Possible values are any of codeschool palette. default: bg1

vim.gcodeschool_vert_split

Changes vertical split background color. Possible values are any of codeschool palette. default: bg0

vim.gcodeschool_italicize_comments

Enables italic for comments. default: 1

vim.gcodeschool_italicize_strings

Enables italic for strings. default: 0

vim.gcodeschool_invert_selection

Inverts selected text. default: 1

vim.gcodeschool_invert_signs

Inverts GitGutter and Syntastic signs. Useful to rapidly focus on. default: 0

vim.gcodeschool_invert_indent_guides

Inverts indent guides. Could be nice paired with set list so it would highlight only tab symbols instead of it's background. default: 0

vim.gcodeschool_invert_tabline

Inverts tabline highlights, providing distinguishable tabline-fill. default: 0

vim.gcodeschool_improved_strings

default: 0

vim.gcodeschool_improved_warnings

default: 0

vim.gcodeschool_guisp_fallback

Delegates guisp colorings to guifg or guibg. This is handy for terminal vim. Uses guifg or guibg for colors originally assigned to guisp. guisp concerns the colors of underlines and strikethroughs. Terminal vim cannot color underlines and strikethroughs, only gVim can. This option instructs vim to color guifg or guibg as a fallback.

default: 'NONE'

Possible Values: 'fg', 'bg'

Functions

codeschool#invert_signs_toggle()

(...)

codeschool#hls_show()

(...)

codeschool#hls_show_cursor()

(...)

codeschool#hls_hide()

(...)

codeschool#hls_hide_cursor()

(...)

codeschool#hls_toggle()

(...)

Clone this wiki locally