feat: extras.formatting.biome
This commit is contained in:
parent
9bd532e06b
commit
2765de277a
3 changed files with 13 additions and 7 deletions
|
@ -112,6 +112,7 @@
|
||||||
nil
|
nil
|
||||||
stylua
|
stylua
|
||||||
alejandra
|
alejandra
|
||||||
|
biome
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
17
init.lua
17
init.lua
|
@ -27,12 +27,6 @@ local lazyOptions = {
|
||||||
require('nixCatsUtils.lazyCat').setup(nixCats.pawsible { 'allPlugins', 'start', 'lazy.nvim' }, {
|
require('nixCatsUtils.lazyCat').setup(nixCats.pawsible { 'allPlugins', 'start', 'lazy.nvim' }, {
|
||||||
{ 'LazyVim/LazyVim', import = 'lazyvim.plugins' },
|
{ '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',
|
'folke/lazydev.nvim',
|
||||||
ft = 'lua',
|
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.neo-tree' },
|
||||||
{ import = 'lazyvim.plugins.extras.editor.refactoring' },
|
{ import = 'lazyvim.plugins.extras.editor.refactoring' },
|
||||||
|
|
||||||
|
{ import = 'lazyvim.plugins.extras.formatting.biome' },
|
||||||
|
|
||||||
{ import = 'lazyvim.plugins.extras.lang.nix' },
|
{ 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',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
build = require('nixCatsUtils').lazyAdd ':TSUpdate',
|
build = require('nixCatsUtils').lazyAdd ':TSUpdate',
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
vim.o.textwidth = 80
|
vim.o.textwidth = 80
|
||||||
vim.o.colorcolumn = '+1'
|
vim.o.colorcolumn = '+1'
|
||||||
|
|
||||||
|
vim.g.lazyvim_prettier_needs_config = true
|
||||||
|
|
Loading…
Reference in a new issue