aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorphilw <dscr@duck.com>2024-04-28 14:33:07 +0200
committerphilw <dscr@duck.com>2024-04-28 14:33:07 +0200
commit2e5490858a73ab9d7ce007f019bbcd486a5f5d7a (patch)
treeb83c89cbdd7f8511f627c38912e5eca1d8f3327d /lua
parent7613551a53b2d795709f93e9344fd165e533c594 (diff)
downloadneovim-2e5490858a73ab9d7ce007f019bbcd486a5f5d7a.tar.gz
neovim-2e5490858a73ab9d7ce007f019bbcd486a5f5d7a.zip
Update config file
Diffstat (limited to 'lua')
-rw-r--r--lua/config/editor.lua2
-rw-r--r--lua/config/plugins.lua83
2 files changed, 1 insertions, 84 deletions
diff --git a/lua/config/editor.lua b/lua/config/editor.lua
index a4ce545..0649006 100644
--- a/lua/config/editor.lua
+++ b/lua/config/editor.lua
@@ -18,7 +18,7 @@ option.signcolumn = "number"
18option.autoindent = true 18option.autoindent = true
19option.clipboard = "unnamedplus" 19option.clipboard = "unnamedplus"
20option.termguicolors = false 20option.termguicolors = false
21option.fillchars='eob: ' 21option.fillchars = 'eob: '
22 22
23-- Setup Editor Theme 23-- Setup Editor Theme
24vim.cmd([[ 24vim.cmd([[
diff --git a/lua/config/plugins.lua b/lua/config/plugins.lua
deleted file mode 100644
index dd09a4d..0000000
--- a/lua/config/plugins.lua
+++ /dev/null
@@ -1,83 +0,0 @@
1-- vim.cmd([[packadd packer.nvim]])
2-- return require("packer").startup(function(use)
3-- use("neovim/nvim-lspconfig")
4-- use("lervag/vimtex")
5-- use({
6-- "VonHeikemen/lsp-zero.nvim",
7-- requires = {
8-- { "neovim/nvim-lspconfig" },
9-- { "williamboman/mason.nvim" },
10-- { "williamboman/mason-lspconfig.nvim" },
11-- { "hrsh7th/nvim-cmp" },
12-- { "hrsh7th/cmp-buffer" },
13-- { "hrsh7th/cmp-path" },
14-- { "saadparwaiz1/cmp_luasnip" },
15-- { "hrsh7th/cmp-nvim-lsp" },
16-- { "hrsh7th/cmp-nvim-lua" },
17-- { "rafamadriz/friendly-snippets" },
18-- },
19-- })
20-- use({
21-- "L3MON4D3/LuaSnip",
22-- tag = "v2.*",
23-- run = "make install_jsregexp",
24-- })
25-- use({
26-- "iamcco/markdown-preview.nvim",
27-- run = "cd app && npm install",
28-- setup = function()
29-- vim.g.mkdp_filetypes = { "markdown" }
30-- end,
31-- ft = { "markdown" },
32-- })
33-- use({
34-- "windwp/nvim-autopairs",
35-- config = function()
36-- require("nvim-autopairs").setup({})
37-- end,
38-- })
39-- end)
40
41local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
42if not vim.loop.fs_stat(lazypath) then
43 vim.fn.system({
44 "git",
45 "clone",
46 "--filter=blob:none",
47 "https://github.com/folke/lazy.nvim.git",
48 "--branch=stable", -- latest stable release
49 lazypath,
50 })
51end
52
53vim.opt.rtp:prepend(lazypath)
54require("lazy").setup({
55 "nvim-lua/plenary.nvim",
56 "airblade/vim-gitgutter",
57 "nvim-treesitter/nvim-treesitter",
58 "neovim/nvim-lspconfig",
59 'nvim-telescope/telescope.nvim', tag = '0.1.5',
60 dependencies = { 'nvim-lua/plenary.nvim' },
61 "windwp/nvim-autopairs",
62 config = function()
63 require("nvim-autopairs").setup({})
64 end,
65 { 'nvim-telescope/telescope-fzf-native.nvim',
66 build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build',
67 keys= {
68 {"<leader>/", false},
69 { "<leader>f", "<cmd>Telescope find_files<cr>", desc = "Find Files" },
70 { "<leader>g", "<cmd>Telescope live_grep<cr>", desc = "Grep" },
71 { "<leader>b", "<cmd>Telescope buffers<cr>", desc = "Grep" },
72 }
73},
74{
75 'numToStr/Comment.nvim',
76 lazy = false,
77},
78
79{
80 "ms-jpq/coq_nvim",
81},
82})
83