nvim
This commit is contained in:
parent
7f59580abd
commit
b81a7a3f22
3 changed files with 14 additions and 11 deletions
|
@ -3,17 +3,13 @@ if not ok then
|
|||
return
|
||||
end
|
||||
|
||||
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
|
||||
|
||||
catppuccin.setup {
|
||||
compile = {
|
||||
enabled = true,
|
||||
path = vim.fn.stdpath "cache" .. "/catppuccin",
|
||||
},
|
||||
flavour = "mocha", -- latte, frappe, macchiato, mocha
|
||||
transparent_background = true,
|
||||
dim_inactive = {
|
||||
enabled = true,
|
||||
shade = "dark",
|
||||
percentage = 0.15,
|
||||
enabled = false,
|
||||
-- shade = "dark",
|
||||
-- percentage = 0.15,
|
||||
},
|
||||
integrations = {
|
||||
cmp = true,
|
||||
|
@ -23,6 +19,7 @@ catppuccin.setup {
|
|||
enabled = true,
|
||||
colored_indent_levels = false,
|
||||
},
|
||||
mason = true,
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
|
@ -43,4 +40,4 @@ catppuccin.setup {
|
|||
},
|
||||
}
|
||||
|
||||
vim.cmd [[colorscheme catppuccin ]]
|
||||
vim.cmd.colorscheme "catppuccin"
|
||||
|
|
|
@ -148,6 +148,9 @@ local servers = {
|
|||
cmd = { "elixir-ls" }
|
||||
},
|
||||
tsserver = {},
|
||||
psalm = {
|
||||
cmd = { "vendor/bin/psalm-language-server" },
|
||||
},
|
||||
}
|
||||
|
||||
for lsp, settings in pairs(servers) do
|
||||
|
|
|
@ -7,6 +7,9 @@ null.setup {
|
|||
sources = {
|
||||
null.builtins.diagnostics.eslint,
|
||||
null.builtins.diagnostics.shellcheck,
|
||||
null.builtins.formatting.prettierd
|
||||
-- null.builtins.diagnostics.psalm.with {
|
||||
-- prefer_local = "vendor/bin",
|
||||
-- },
|
||||
null.builtins.formatting.prettierd,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue