Merge pull request #190 from nullchilly/ci

config(tree): default to show_root = true
dev
Pocco81 2 years ago committed by GitHub
commit a8af02b85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,17 +0,0 @@
name: stylua
on:
push:
branches:
- dev
paths-ignore:
- ".github/**"
jobs:
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check --config-path=stylua.toml .

@ -0,0 +1,16 @@
name: stylua
on:
push:
branches: ["main", "dev"]
paths-ignore:
- ".github/**"
jobs:
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --check --config-path=stylua.toml .

@ -132,12 +132,12 @@ integrations = {
telescope = true, telescope = true,
nvimtree = { nvimtree = {
enabled = true, enabled = true,
show_root = false, show_root = true,
transparent_panel = false, transparent_panel = false,
}, },
neotree = { neotree = {
enabled = false, enabled = false,
show_root = false, show_root = true,
transparent_panel = false, transparent_panel = false,
}, },
which_key = false, which_key = false,
@ -312,14 +312,14 @@ By default catppuccin writes the compiled results into the system's cache direct
Catppuccin provides these commands to work with the catppuccin compiler. Catppuccin provides these commands to work with the catppuccin compiler.
```vim ```bash
:CatppuccinCompile # Create/update the compile file :CatppuccinCompile # Create/update the compile file
:CatppuccinClean # Delete compiled file :CatppuccinClean # Delete compiled file
``` ```
It's recommended to add `:CatppuccinCompile` to run everytime you update your config. For example: It's recommended to add `:CatppuccinCompile` to run everytime you update your config. For example:
``` ```lua
use { use {
"catppuccin/nvim", "catppuccin/nvim",
as = "catppuccin", as = "catppuccin",
@ -327,6 +327,19 @@ use {
} }
``` ```
To auto-compile catppuccin after `:PackerCompile`, create an autocmd `PackerCompileDone` in User group
For example, if your plugin specification is in `~/.config/nvim/lua/plugins.lua` then the pattern is `plugins.lua`
```lua
vim.api.nvim_create_autocmd("User PackerCompileDone", {
pattern = "plugins.lua",
callback = function()
vim.cmd "CatppuccinCompile"
end,
})
```
Acknowledge: [nightfox.nvim#compile](https://github.com/EdenEast/nightfox.nvim#compile) Acknowledge: [nightfox.nvim#compile](https://github.com/EdenEast/nightfox.nvim#compile)
### Extra ### Extra

@ -59,7 +59,7 @@ config.options = {
}, },
neotree = { neotree = {
enabled = false, enabled = false,
show_root = false, show_root = true,
transparent_panel = false, transparent_panel = false,
}, },
which_key = false, which_key = false,

Loading…
Cancel
Save