Skip to content

Commit 7f7aeb5

Browse files
committed
Adding formatters, linting and enabling autopair plugin I forgot last time
1 parent 1e58d44 commit 7f7aeb5

5 files changed

Lines changed: 10 additions & 2 deletions

File tree

lazy-lock.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
"neogit": { "branch": "master", "commit": "8fd90675caf8b847280ca56f464b66030adad876" },
2323
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
2424
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
25+
"nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
26+
"nvim-lint": { "branch": "master", "commit": "606b823a57b027502a9ae00978ebf4f5d5158098" },
2527
"nvim-lspconfig": { "branch": "master", "commit": "faa403f95fd82cc24ebd0cee6af41b0de2dae00c" },
2628
"nvim-notify": { "branch": "master", "commit": "8701bece920b38ea289b457f902e2ad184131a5d" },
2729
"nvim-treesitter": { "branch": "main", "commit": "5cb05e1b0fa3c469958a2b26f36b3fe930af221c" },

lua/kickstart/plugins/conform.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ return {
3535
rust = { 'rustfmt' },
3636
go = { 'gofmt' },
3737
yaml = { 'yamlfmt' },
38+
typescript = { 'biome' },
39+
javascript = { 'biome' },
40+
typescriptreact = { 'biome' },
3841
},
3942
},
4043
},

lua/kickstart/plugins/lint.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ return {
88
lint.linters_by_ft = {
99
go = { 'golangcilint' },
1010
markdown = { 'markdownlint' },
11+
typescript = { 'biomejs' },
12+
typescriptreact = { 'biomejs' },
1113
}
1214

1315
-- To allow other plugins to add linters to require('lint').linters_by_ft,

lua/kickstart/plugins/lspconfig.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ return {
244244
},
245245
},
246246
},
247+
biome = {},
247248
}
248249

249250
-- Ensure the servers and tools above are installed

lua/lazy-plugins.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ require('lazy').setup({
4545
--
4646
-- require 'kickstart.plugins.debug',
4747
-- require 'kickstart.plugins.indent_line',
48-
-- require 'kickstart.plugins.lint',
49-
-- require 'kickstart.plugins.autopairs',
48+
require 'kickstart.plugins.lint',
49+
require 'kickstart.plugins.autopairs',
5050
-- require 'kickstart.plugins.neo-tree',
5151

5252
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`

0 commit comments

Comments
 (0)