You've already forked dotfiles
refactor: Cleanup and stuff
This commit is contained in:
@@ -22,7 +22,8 @@ require('lazy').setup({
|
||||
require('plugins.dap-python'), -- Debug plugin settings specifically for python
|
||||
require('plugins.treesitter'), -- Treesitter syntax highlighting and tree support
|
||||
require('plugins.gitsigns'), -- Gutter symbols for Git status and quick actions for Git operations
|
||||
require('plugins.luasnip'), -- Snippet enging
|
||||
require('plugins.luasnip'), -- Snippet engine
|
||||
-- require('plugins.nvim-lint'), -- Linter loader
|
||||
require('plugins.nvim-cmp'), -- Autocompletion engine
|
||||
require('plugins.lualine'), -- Status line
|
||||
require('plugins.telekasten'), -- Note taking setup
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
return {
|
||||
'mfussenegger/nvim-dap',
|
||||
dependencies = {
|
||||
{
|
||||
'jay-babu/mason-nvim-dap.nvim'
|
||||
},
|
||||
{
|
||||
'nvim-neotest/nvim-nio',
|
||||
},
|
||||
{ 'jay-babu/mason-nvim-dap.nvim' },
|
||||
{ 'nvim-neotest/nvim-nio' },
|
||||
{
|
||||
'rcarriga/nvim-dap-ui',
|
||||
config = function()
|
||||
@@ -140,8 +136,6 @@ return {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-- require('dap.ext.vscode').load_launchjs('.launch.json', {})
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
|
||||
@@ -21,7 +21,6 @@ return {
|
||||
local bufopts = { noremap = true, silent = true, buffer = bufnr }
|
||||
vim.keymap.set('n', '<C-[>', vim.diagnostic.goto_prev, bufopts)
|
||||
vim.keymap.set('n', '<C-]>', vim.diagnostic.goto_next, bufopts)
|
||||
-- vim.keymap.set('n', 'gl', vim.diagnostic.open_float, bufopts)
|
||||
vim.keymap.set('n', 'ga', vim.lsp.buf.code_action, bufopts)
|
||||
vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, bufopts)
|
||||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)
|
||||
|
||||
@@ -65,26 +65,11 @@ return {
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
{
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
lazy = false,
|
||||
},
|
||||
{
|
||||
'hrsh7th/cmp-buffer',
|
||||
lazy = false,
|
||||
},
|
||||
{
|
||||
'hrsh7th/cmp-path',
|
||||
lazy = false,
|
||||
},
|
||||
{
|
||||
'hrsh7th/cmp-cmdline',
|
||||
lazy = false,
|
||||
},
|
||||
{
|
||||
'L3MON4D3/LuaSnip',
|
||||
lazy = false,
|
||||
},
|
||||
{ 'hrsh7th/cmp-nvim-lsp', lazy = false },
|
||||
{ 'hrsh7th/cmp-buffer', lazy = false },
|
||||
{ 'hrsh7th/cmp-path', lazy = false },
|
||||
{ 'hrsh7th/cmp-cmdline', lazy = false },
|
||||
{ 'L3MON4D3/LuaSnip', lazy = false },
|
||||
},
|
||||
event = 'InsertEnter',
|
||||
lazy = false,
|
||||
|
||||
8
nvim/lua/plugins/nvim-lint.lua
Normal file
8
nvim/lua/plugins/nvim-lint.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
'mfussenegger/nvim-lint',
|
||||
config = function()
|
||||
require('lint').linters_by_ft = {
|
||||
yaml = {'cfn-lint'}
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user