feat: config update

This commit is contained in:
Alexander Muszynski
2025-02-06 18:08:58 -05:00
parent cd87be9f2d
commit b8c3f439ca
9 changed files with 134 additions and 149 deletions
+7 -7
View File
@@ -426,11 +426,11 @@ require('lazy').setup({
-- Useful status updates for LSP.
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
{ 'j-hui/fidget.nvim', opts = {} },
-- { 'j-hui/fidget.nvim', opts = {} },
-- `neodev` configures Lua LSP for your Neovim config, runtime and plugins
-- used for completion, annotations and signatures of Neovim apis
{ 'folke/neodev.nvim', opts = {} },
{ 'folke/lazydev.nvim', opts = {} },
},
config = function()
-- Brief aside: **What is LSP?**
@@ -621,6 +621,7 @@ require('lazy').setup({
'css-lsp',
'prettier',
'prettierd',
'typescript-language-server',
-- Python
'ruff',
'pyright',
@@ -638,6 +639,7 @@ require('lazy').setup({
handlers = {
function(server_name)
local server = servers[server_name] or {}
-- This handles overriding only values explicitly passed
-- by the server configuration above. Useful when disabling
-- certain features of an LSP (for example, turning off formatting for tsserver)
@@ -682,9 +684,9 @@ require('lazy').setup({
-- You can use a sub-list to tell conform to run *until* a formatter
-- is found.
markdown = { 'markdownlint', 'marksman' },
javascript = { { 'prettierd', 'prettier' } },
typescript = { { 'prettierd', 'prettier' } },
typescriptreact = { { 'prettierd', 'prettier' } },
javascript = { 'prettierd', 'prettier' },
typescript = { 'prettierd', 'prettier', stop_after_first = true, lsp_fallback = false },
typescriptreact = { 'prettierd', 'prettier' },
},
},
},
@@ -920,11 +922,9 @@ require('lazy').setup({
-- Here are some example plugins that I've included in the Kickstart repository.
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
--
require 'kickstart.plugins.debug',
require 'kickstart.plugins.indent_line',
require 'kickstart.plugins.lint',
require 'kickstart.plugins.autopairs',
require 'kickstart.plugins.neo-tree',
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`