feat: extras.formatting.biome

This commit is contained in:
punkfairie 2025-03-08 14:45:02 -08:00
parent 9bd532e06b
commit 2765de277a
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
3 changed files with 13 additions and 7 deletions

View file

@ -112,6 +112,7 @@
nil
stylua
alejandra
biome
];
};

View file

@ -27,12 +27,6 @@ local lazyOptions = {
require('nixCatsUtils.lazyCat').setup(nixCats.pawsible { 'allPlugins', 'start', 'lazy.nvim' }, {
{ 'LazyVim/LazyVim', import = 'lazyvim.plugins' },
-- Disable mason.nvim while using nix.
-- Precompiled binaries do not agree with nixos, and we can just make nix
-- install this stuff for us.
{ 'williamboman/mason-lspconfig.nvim', enabled = require('nixCatsUtils').lazyAdd(true, false) },
{ 'williamboman/mason.nvim', enabled = require('nixCatsUtils').lazyAdd(true, false) },
{
'folke/lazydev.nvim',
ft = 'lua',
@ -56,9 +50,18 @@ require('nixCatsUtils.lazyCat').setup(nixCats.pawsible { 'allPlugins', 'start',
{ import = 'lazyvim.plugins.extras.editor.neo-tree' },
{ import = 'lazyvim.plugins.extras.editor.refactoring' },
{ import = 'lazyvim.plugins.extras.formatting.biome' },
{ import = 'lazyvim.plugins.extras.lang.nix' },
-- This needs to be after extras to prevent extras from overwriting it.
-- These need to be after extras to prevent extras from overwriting them.
-- Disable mason.nvim while using nix.
-- Precompiled binaries do not agree with nixos, and we can just make nix
-- install this stuff for us.
{ 'williamboman/mason-lspconfig.nvim', enabled = require('nixCatsUtils').lazyAdd(true, false) },
{ 'williamboman/mason.nvim', enabled = require('nixCatsUtils').lazyAdd(true, false) },
{
'nvim-treesitter/nvim-treesitter',
build = require('nixCatsUtils').lazyAdd ':TSUpdate',

View file

@ -1,2 +1,4 @@
vim.o.textwidth = 80
vim.o.colorcolumn = '+1'
vim.g.lazyvim_prettier_needs_config = true