working lsp and documentation

This commit is contained in:
2026-07-31 20:12:38 +02:00
parent 3aeb831826
commit 85dfb90e83
10 changed files with 168 additions and 128 deletions
+25 -2
View File
@@ -14,13 +14,15 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
-- Due to Telescope loading too fast this must be configured here
vim.g.mapleader = " "
local plugins = {
{
"nvim-telescope/telescope.nvim",
version = "0.2.1",
dependencies = { { "nvim-lua/plenary.nvim" },
dependencies = {
{ "nvim-lua/plenary.nvim" },
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
},
},
@@ -43,6 +45,7 @@ local plugins = {
lazy = true
},
{
-- Use Neovim to input into Browser Textfields
"subnut/nvim-ghost.nvim",
lazy = true
},
@@ -67,6 +70,26 @@ local plugins = {
{ "williamboman/mason.nvim" },
{ "hrsh7th/cmp-nvim-lsp" },
{ "hrsh7th/nvim-cmp" },
{
"L3MON4D3/LuaSnip",
version = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
},
{
"neovim/nvim-lspconfig",
lazy = false,
},
{
"folke/lazydev.nvim",
ft = "lua",
opts = {
library = {
{
path = "${3rd}/luv/library",
words = { "vim%.uv" },
},
},
},
},
{
"goolord/alpha-nvim",
lazy = true,
@@ -75,4 +98,4 @@ local plugins = {
},
}
require("lazy").setup(plugins, {})
require("lazy").setup(plugins, { debug = true })