-- Read the docs: https://www.lunarvim.org/docs/configuration -- Example configs: https://github.com/LunarVim/starter.lvim -- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6 -- Forum: https://www.reddit.com/r/lunarvim/ -- Discord: https://discord.com/invite/Xb9B4Ny require("user.c") require("user.python") lvim.transparent_window = true lvim.colorscheme = "rose-pine-moon" vim.opt.rnu = true -- relative numbers vim.opt.cb = "unnamedplus" vim.opt.nf = "alpha,octal,hex,bin,unsigned" vim.opt.si = true vim.opt.backup = false lvim.builtin.nvimtree.active = false -- NOTE: using neo-tree lvim.builtin.indentlines.active = true vim.o.timeoutlen = 250 vim.opt.ts = 2 vim.opt.sw = 2 vim.opt.et = true lvim.keys.normal_mode[""] = ":NeoTreeFocusToggle" lvim.keys.normal_mode[""] = ":BufferLineCyclePrev" lvim.keys.normal_mode[""] = ":BufferLineCycleNext" lvim.builtin.which_key.mappings["r"] = { ":RnvimrToggle", "Rnvimr" } lvim.format_on_save = false vim.diagnostic.config({ virtual_text = true }) lvim.builtin.treesitter.highlight.enable = true -- auto install treesitter parsers lvim.builtin.treesitter.ensure_installed = { "cpp", "c", "python"} -- Additional Plugins table.insert(lvim.plugins, { "kvrohit/mellow.nvim", "embark-theme/vim", "nyngwang/nvimgelion", "maxmx03/FluoroMachine.nvim", "sonjiku/yawnc.nvim", "xero/miasma.nvim", "lmburns/kimbox", "p00f/clangd_extensions.nvim", "catppuccin/nvim", "marko-cerovac/material.nvim", "bluz71/vim-nightfly-colors", "sainnhe/sonokai", "nyoom-engineering/oxocarbon.nvim", "rose-pine/neovim", "kyazdani42/blue-moon", "bkegley/gloombuddy", "Th3Whit3Wolf/space-nvim", "yonlu/omni.vim", "ray-x/aurora", "ray-x/starry.nvim", "AlexvZyl/nordic.nvim", "shaunsingh/moonlight.nvim", "sainnhe/gruvbox-material", "neanias/everforest-nvim", "kdheepak/monochrome.nvim", "mcchrish/zenbones.nvim", "FrenzyExists/aquarium-vim", "rebelot/kanagawa.nvim", { "nvim-neo-tree/neo-tree.nvim", branch = "v2.x", dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim", }, config = function() require("neo-tree").setup({ close_if_last_window = true, window = { width = 30, }, buffers = { follow_current_file = true, }, filesystem = { follow_current_file = true, filtered_items = { hide_dotfiles = false, hide_gitignored = false, hide_by_name = { "node_modules" }, never_show = { ".DS_Store", "thumbs.db" }, }, }, }) end }, -- "lervag/vimtex", -- "kdheepak/cmp-latex-symbols", -- "KeitaNakamura/tex-conceal.vim", "SirVer/ultisnips", { "ggandor/leap.nvim", name = "leap", config = function() require("leap").add_default_mappings() end, }, { "mrjones2014/nvim-ts-rainbow", }, { "nacro90/numb.nvim", event = "BufRead", config = function() require("numb").setup { show_numbers = true, -- Enable 'number' for the window while peeking show_cursorline = true, -- Enable 'cursorline' for the window while peeking } end, }, { "kevinhwang91/rnvimr", cmd = "RnvimrToggle", config = function() vim.g.rnvimr_draw_border = 1 vim.g.rnvimr_pick_enable = 1 vim.g.rnvimr_bw_enable = 1 end, }, }) vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "clangd" })