Configuration - adisen99/apprentice.nvim GitHub Wiki

Options

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

vim.g.apprentice_bold

Enables bold text. default: 1

vim.g.apprentice_italic

Enables italic text. default: gui 1, term 0

vim.g.apprentice_transparent_bg

Enables transparent background. default: 0

vim.g.apprentice_underline

Enables underlined text. default: 1

vim.g.apprentice_undercurl

Enables undercurled text. default: 1

vim.g.apprentice_termcolors

Uses 256-color palette (suitable to pair with apprentice-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.apprentice_contrast_dark

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

vim.g.apprentice_contrast_light

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

vim.g.apprentice_hls_cursor

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

vim.g.apprentice_number_column

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

vim.g.apprentice_sign_column

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

vim.g.apprentice_color_column

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

vim.g.apprentice_vert_split

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

vim.g.apprentice_italicize_comments

Enables italic for comments. default: 1

vim.g.apprentice_italicize_strings

Enables italic for strings. default: 0

vim.g.apprentice_invert_selection

Inverts selected text. default: 1

vim.g.apprentice_invert_signs

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

vim.g.apprentice_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.apprentice_tabline_sel

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

vim.g.apprentice_invert_tabline

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

vim.g.apprentice_improved_strings

default: 0

vim.g.apprentice_improved_warnings

default: 0

vim.g.apprentice_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

apprentice#invert_signs_toggle()

(...)

apprentice#hls_show()

(...)

apprentice#hls_show_cursor()

(...)

apprentice#hls_hide()

(...)

apprentice#hls_hide_cursor()

(...)

apprentice#hls_toggle()

(...)