doc: updated deafult config

dev
Pocco81 3 years ago
parent e9a38bfa66
commit 7c74945cf3

@ -86,12 +86,17 @@ transparent_background = false,
term_colors = false, term_colors = false,
styles = { styles = {
comments = "italic", comments = "italic",
functions = "italic", conditionals = "italic",
keywords = "italic", loops = "NONE",
functions = "NONE",
keywords = "NONE",
strings = "NONE", strings = "NONE",
variables = "italic", variables = "NONE",
numbers = "bold", numbers = "NONE",
booleans = "bold" booleans = "NONE",
properties = "NONE",
types = "NONE",
operators = "NONE",
}, },
integrations = { integrations = {
treesitter = true, treesitter = true,
@ -147,7 +152,7 @@ integrations = {
} }
``` ```
The way you setup the settings on your configuration varies on whether you are using vimL for this or Lua. The way you setup the settings on your configuration varies based on whether you are using vimL for this or Lua.
<details> <details>
<summary>For init.lua</summary> <summary>For init.lua</summary>
@ -183,16 +188,20 @@ After setting things up, you can load catppuccin like so:
```vim ```vim
" Vim Script " Vim Script
let g:catppuccin_flavour = "dusk" let g:catppuccin_flavour = "dusk" " latte, frappe, macchiato, mocha
colorscheme catppuccin colorscheme catppuccin
``` ```
```lua ```lua
-- Lua -- Lua
vim.g.catppuccin_flavour = "storm" vim.g.catppuccin_flavour = "frappe" -- latte, frappe, macchiato, mocha
vim.cmd[[colorscheme catppuccin]] vim.cmd[[colorscheme catppuccin]]
``` ```
Remember that if you want to switch your Catppuccin flavour "on the fly" you may use the `:Catppuccin <flavour>` command.
> Note: the command has autocompletion enabled, so you can just press tab to cycle through the flavours
### Configuration ### Configuration
Although settings already have self-explanatory names, here is where you can find info about each one of them and their classifications! Although settings already have self-explanatory names, here is where you can find info about each one of them and their classifications!

Loading…
Cancel
Save