Skip to content

Configuration

Aditya Sengupta edited this page Jul 4, 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.g.codeschool_bold

Enables bold text. default: 1

vim.g.codeschool_italic

Enables italic text. default: gui 1, term 0

vim.g.codeschool_transparent_bg

Enables transparent background. default: 0

vim.g.codeschool_underline

Enables underlined text. default: 1

vim.g.codeschool_undercurl

Enables undercurled text. default: 1

vim.g.codeschool_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.g.codeschool_contrast_dark

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

vim.g.codeschool_contrast_light

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

vim.g.codeschool_hls_cursor

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

vim.g.codeschool_number_column

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

vim.g.codeschool_sign_column

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

vim.g.codeschool_color_column

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

vim.g.codeschool_vert_split

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

vim.g.codeschool_italicize_comments

Enables italic for comments. default: 1

vim.g.codeschool_italicize_strings

Enables italic for strings. default: 0

vim.g.codeschool_invert_selection

Inverts selected text. default: 1

vim.g.codeschool_invert_signs

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

vim.g.codeschool_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.g.codeschool_tabline_sel

Choose TabLineSel highlight color. Default color is set to green. default: nil

vim.g.codeschool_invert_tabline

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

vim.g.codeschool_improved_strings

default: 0

vim.g.codeschool_improved_warnings

default: 0

vim.g.codeschool_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()

(...)