Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'core.options'
- require 'core.keymaps'
- local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
- if not (vim.uv or vim.loop).fs_stat(lazypath) then
- local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
- local out = vim.fn.system { 'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath }
- if vim.v.shell_error ~= 0 then
- error('Error cloning lazy.nvim:\n' .. out)
- end
- end
- vim.opt.rtp:prepend(lazypath)
- -- Load plugins
- require('lazy').setup({
- {
- "nvim-neo-tree/neo-tree.nvim",
- branch = "v3.x",
- dependencies = {
- "nvim-lua/plenary.nvim",
- "nvim-tree/nvim-web-devicons",
- "MunifTanjim/nui.nvim",
- -- Optional image support in preview window:
- -- "3rd/image.nvim", -- Uncomment if needed
- }
- },
- -- install without yarn or npm
- {
- "iamcco/markdown-preview.nvim",
- cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
- ft = { "markdown" },
- build = function() vim.fn["mkdp#util#install"]() end,
- },
- {
- "navarasu/onedark.nvim",
- lazy = false,
- priority = 1000,
- config = function()
- require('onedark').setup {
- style = "deep",
- transparent = false,
- colors = { bg = "#0e0e0e" },
- }
- require('onedark').load()
- end
- },
- {
- 'MeanderingProgrammer/render-markdown.nvim',
- main = "render-markdown",
- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' },
- opts = {},
- },
- {
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate",
- config = function()
- local configs = require("nvim-treesitter.configs")
- configs.setup({
- ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
- sync_install = false,
- highlight = { enable = true },
- indent = { enable = true }
- })
- end,
- },
- {
- 'altermo/ultimate-autopair.nvim',
- event={'InsertEnter','CmdlineEnter'},
- branch='v0.6', --recommended as each new version will have breaking changes
- opts={
- --Config goes here
- },
- },
- { 'kblin/vim-fountain' },
- { 'vim-pandoc/vim-pandoc' },
- { 'vim-pandoc/vim-pandoc-syntax' },
- { 'nvim-telescope/telescope.nvim' },
- { 'reedes/vim-pencil' },
- { 'folke/twilight.nvim' },
- {
- "folke/zen-mode.nvim",
- opts = {
- -- your configuration comes here
- -- or leave it empty to use the default settings
- -- refer to the configuration section below
- }
- },
- { "epwalsh/obsidian.nvim", config = function() require("plugins.obsidian") end },
- { "hrsh7th/nvim-cmp" },
- })
- vim.opt.wrap = true
- vim.cmd("colorscheme onedark")
- vim.opt.clipboard = "unnamedplus"
- --vim.cmd("highlight Normal guibg=#0e0e0e")
- --vim.cmd("highlight NormalNC guibg=#0e0e0e")
- --vim.cmd("highlight NonText guibg=#0e0e0e")
- --vim.cmd("highlight EndOfBuffer guibg=#0e0e0e")
- --
- ---- Additional setting to ensure colors stay applied
- --vim.opt.termguicolors = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement