feat(none-ls): Add prettier
In defaults.lua change 'opt' to 'go' Fix catppuccin colorscheme
This commit is contained in:
parent
b3e474b0ca
commit
30511c1c89
|
@ -1,8 +1,8 @@
|
|||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.go.tabstop = 2
|
||||
vim.go.shiftwidth = 2
|
||||
vim.go.expandtab = true
|
||||
vim.bo.softtabstop = 2
|
||||
vim.opt.relativenumber = true
|
||||
vim.go.relativenumber = true
|
||||
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]], { noremap = true })
|
||||
vim.cmd.colorscheme 'gruvbox' -- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]]
|
||||
|
||||
|
|
|
@ -3,8 +3,7 @@ return {
|
|||
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true, opts = ... },
|
||||
|
||||
--tokyonight colorscheme
|
||||
{
|
||||
"folke/tokyonight.nvim", priority = 1000 },
|
||||
{ "folke/tokyonight.nvim", priority = 1000 },
|
||||
|
||||
-- lunar-vim colorschemes
|
||||
{ "lunarvim/colorschemes", priority = 1000 },
|
||||
|
@ -13,7 +12,7 @@ return {
|
|||
{ "rebelot/kanagawa.nvim", priority = 1000 },
|
||||
|
||||
-- latte, frappe, macchiato, mocha
|
||||
{ "catppuccin/catppuccin", priority = 1000, },
|
||||
{ "catppuccin/catppuccin", priority = 1000, },
|
||||
|
||||
-- Theme inspired by Atom
|
||||
{ 'navarasu/onedark.nvim', priority = 1000, },
|
||||
|
|
|
@ -6,6 +6,9 @@ return {
|
|||
null_ls.setup({
|
||||
sources = {
|
||||
null_ls.builtins.formatting.stylua,
|
||||
null_ls.builtins.formatting.prettier.with({
|
||||
disabled_filetypes = { 'javascript', 'typescript', 'json' } -- Use biome
|
||||
}),
|
||||
null_ls.builtins.formatting.biome,
|
||||
null_ls.builtins.diagnostics.biome,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue