Added lsp, blink, etc...
This commit is contained in:
32
lua/plugins/blink.lua
Normal file
32
lua/plugins/blink.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
return {
|
||||
"saghen/blink.cmp",
|
||||
|
||||
dependencies = { 'rafamadriz/friendly-snippets' },
|
||||
|
||||
event = { "InsertEnter", "CmdlineEnter" },
|
||||
opts = {
|
||||
keymap = { preset = 'default' },
|
||||
|
||||
appearance = {
|
||||
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
|
||||
-- Adjusts spacing to ensure icons are aligned
|
||||
nerd_font_variant = 'mono'
|
||||
},
|
||||
|
||||
-- (Default) Only show the documentation popup when manually triggered
|
||||
completion = { documentation = { auto_show = true, auto_show_delay_ms = 200, } },
|
||||
|
||||
-- Default list of enabled providers defined so that you can extend it
|
||||
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||
sources = {
|
||||
default = { "lsp", "path", "snippets", "buffer" },
|
||||
},
|
||||
|
||||
fuzzy = {
|
||||
implementation = "lua"
|
||||
}
|
||||
},
|
||||
|
||||
opts_extend = { "sources.default" }
|
||||
|
||||
}
|
||||
20
lua/plugins/comfy-line.lua
Normal file
20
lua/plugins/comfy-line.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
'mluders/comfy-line-numbers.nvim',
|
||||
|
||||
opts = {
|
||||
labels = {
|
||||
'1', '2', '3', '4', '5', '11', '12', '13', '14', '15', '21', '22', '23',
|
||||
'24', '25', '31', '32', '33', '34', '35', '41', '42', '43', '44', '45',
|
||||
'51', '52', '53', '54', '55', '111', '112', '113', '114', '115', '121',
|
||||
'122', '123', '124', '125', '131', '132', '133', '134', '135', '141',
|
||||
'142', '143', '144', '145', '151', '152', '153', '154', '155', '211',
|
||||
'212', '213', '214', '215', '221', '222', '223', '224', '225', '231',
|
||||
'232', '233', '234', '235', '241', '242', '243', '244', '245', '251',
|
||||
'252', '253', '254', '255',
|
||||
},
|
||||
|
||||
up_key = 'k',
|
||||
down_key = 'j',
|
||||
|
||||
}
|
||||
}
|
||||
8
lua/plugins/lualine.lua
Normal file
8
lua/plugins/lualine.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
|
||||
config = function ()
|
||||
require('lualine').setup()
|
||||
end
|
||||
}
|
||||
6
lua/plugins/melange.lua
Normal file
6
lua/plugins/melange.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"savq/melange-nvim",
|
||||
config = function()
|
||||
vim.cmd.colorscheme 'melange'
|
||||
end,
|
||||
}
|
||||
@@ -1,7 +1,18 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = { 'saghen/blink.cmp' },
|
||||
|
||||
|
||||
config = function()
|
||||
vim.lsp.config('lua_ls', {
|
||||
cmd = {"lua-language-server"},
|
||||
filetypes = {"lua"},
|
||||
})
|
||||
vim.lsp.enable('lua_ls')
|
||||
|
||||
vim.lsp.enable('basedpyright')
|
||||
|
||||
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user