@@ -97,6 +97,8 @@ require('lazy').setup({
9797 },
9898 },
9999
100+ { ' stevearc/conform.nvim' , opts = {} },
101+
100102 {
101103 -- Autocompletion
102104 ' hrsh7th/nvim-cmp' ,
@@ -114,7 +116,7 @@ require('lazy').setup({
114116 },
115117
116118 -- Useful plugin to show you pending keybinds.
117- { ' folke/which-key.nvim' , opts = {} },
119+ { ' folke/which-key.nvim' , opts = {} },
118120 {
119121 -- Adds git related signs to the gutter, as well as utilities for managing changes
120122 ' lewis6991/gitsigns.nvim' ,
@@ -187,7 +189,7 @@ require('lazy').setup({
187189 },
188190
189191 -- "gc" to comment visual regions/lines
190- { ' numToStr/Comment.nvim' , opts = {} },
192+ { ' numToStr/Comment.nvim' , opts = {} },
191193
192194 -- Fuzzy Finder (files, lsp, etc)
193195 {
@@ -222,7 +224,7 @@ require('lazy').setup({
222224 -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart
223225 -- These are some example plugins that I've included in the kickstart repository.
224226 -- Uncomment any of the lines below to enable them.
225- -- require 'kickstart.plugins.autoformat',
227+ require ' kickstart.plugins.autoformat' ,
226228 -- require 'kickstart.plugins.debug',
227229
228230 -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
@@ -507,6 +509,13 @@ require('which-key').register {
507509require (' mason' ).setup ()
508510require (' mason-lspconfig' ).setup ()
509511
512+ -- Enable Formatters
513+ local mason = require ' mason' ;
514+
515+ mason .setup {
516+ ensure_installed = { " prettier" }
517+ }
518+
510519-- Enable the following language servers
511520-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
512521--
@@ -516,7 +525,6 @@ require('mason-lspconfig').setup()
516525-- If you want to override the default filetypes that your language server will attach to you can
517526-- define the property 'filetypes' to the map in question.
518527local servers = {
519- -- clangd = {},
520528 -- gopls = {},
521529 pyright = {
522530 python = {
@@ -525,12 +533,12 @@ local servers = {
525533 }
526534 }
527535 },
528-
529536 clangd = {},
530537
531538 -- rust_analyzer = {},
532- -- tsserver = {},
533- -- html = { filetypes = { 'html', 'twig', 'hbs'} },
539+ tsserver = {},
540+ eslint = {},
541+ html = { filetypes = { ' html' , ' twig' , ' hbs' } },
534542
535543 lua_ls = {
536544 Lua = {
0 commit comments