| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 | 
							- CONFIG_PATH = vim.fn.stdpath "config"
 
- DATA_PATH = vim.fn.stdpath "data"
 
- CACHE_PATH = vim.fn.stdpath "cache"
 
- TERMINAL = vim.fn.expand "$TERMINAL"
 
- USER = vim.fn.expand "$USER"
 
- O = {
 
-   leader_key = "space",
 
-   colorscheme = "spacegray",
 
-   line_wrap_cursor_movement = true,
 
-   transparent_window = false,
 
-   format_on_save = true,
 
-   vnsip_dir = vim.fn.stdpath "config" .. "/snippets",
 
-   default_options = {
 
-     backup = false, -- creates a backup file
 
-     clipboard = "unnamedplus", -- allows neovim to access the system clipboard
 
-     cmdheight = 2, -- more space in the neovim command line for displaying messages
 
-     colorcolumn = "99999", -- fixes indentline for now
 
-     completeopt = { "menuone", "noselect" },
 
-     conceallevel = 0, -- so that `` is visible in markdown files
 
-     fileencoding = "utf-8", -- the encoding written to a file
 
-     guifont = "monospace:h17", -- the font used in graphical neovim applications
 
-     hidden = true, -- required to keep multiple buffers and open multiple buffers
 
-     hlsearch = false, -- highlight all matches on previous search pattern
 
-     ignorecase = true, -- ignore case in search patterns
 
-     mouse = "a", -- allow the mouse to be used in neovim
 
-     pumheight = 10, -- pop up menu height
 
-     showmode = false, -- we don't need to see things like -- INSERT -- anymore
 
-     showtabline = 2, -- always show tabs
 
-     smartcase = true, -- smart case
 
-     smartindent = true, -- make indenting smarter again
 
-     splitbelow = true, -- force all horizontal splits to go below current window
 
-     splitright = true, -- force all vertical splits to go to the right of current window
 
-     swapfile = false, -- creates a swapfile
 
-     termguicolors = true, -- set term gui colors (most terminals support this)
 
-     timeoutlen = 100, -- time to wait for a mapped sequence to complete (in milliseconds)
 
-     title = true, -- set the title of window to the value of the titlestring
 
-     -- opt.titlestring = "%<%F%=%l/%L - nvim" -- what the title of the window will be set to
 
-     undodir = CACHE_PATH .. "/undo", -- set an undo directory
 
-     undofile = true, -- enable persisten undo
 
-     updatetime = 300, -- faster completion
 
-     writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
 
-     expandtab = true, -- convert tabs to spaces
 
-     shiftwidth = 2, -- the number of spaces inserted for each indentation
 
-     tabstop = 2, -- insert 2 spaces for a tab
 
-     cursorline = true, -- highlight the current line
 
-     number = true, -- set numbered lines
 
-     relativenumber = false, -- set relative numbered lines
 
-     numberwidth = 4, -- set number column width to 2 {default 4}
 
-     signcolumn = "yes", -- always show the sign column, otherwise it would shift the text each time
 
-     wrap = false, -- display lines as one long line
 
-     spell = false,
 
-     spelllang = "en",
 
-     scrolloff = 8, -- is one of my fav
 
-   },
 
-   -- TODO: refactor for tree
 
-   auto_close_tree = 0,
 
-   nvim_tree_disable_netrw = 0,
 
-   lsp = {
 
-     document_highlight = true,
 
-     popup_border = "single",
 
-   },
 
-   database = { save_location = "~/.config/lunarvim_db", auto_execute = 1 },
 
-   plugin = {
 
-     -- Builtins
 
-     diffview = { active = false },
 
-     ts_hintobjects = { active = false },
 
-     ts_textobjects = { active = false },
 
-     ts_textsubjects = { active = false },
 
-     telescope_project = { active = false },
 
-     indent_line = { active = false },
 
-     lush = { active = false },
 
-   },
 
-   -- TODO: just using mappings (leader mappings)
 
-   user_which_key = {},
 
-   user_plugins = {
 
-     -- use lv-config.lua for this not put here
 
-   },
 
-   user_autocommands = {
 
-     { "FileType", "qf", "set nobuflisted" },
 
-   },
 
-   lang = {
 
-     cmake = {
 
-       formatter = {
 
-         exe = "clang-format",
 
-         args = {},
 
-       },
 
-     },
 
-     clang = {
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       cross_file_rename = true,
 
-       header_insertion = "never",
 
-       filetypes = { "c", "cpp", "objc" },
 
-       formatter = {
 
-         exe = "clang-format",
 
-         args = {},
 
-       },
 
-     },
 
-     css = {
 
-       virtual_text = true,
 
-     },
 
-     dart = {
 
-       sdk_path = "/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot",
 
-       formatter = {
 
-         exe = "dart",
 
-         args = { "format" },
 
-       },
 
-     },
 
-     docker = {},
 
-     efm = {},
 
-     elm = {},
 
-     emmet = { active = true },
 
-     elixir = {},
 
-     graphql = {},
 
-     go = {
 
-       formatter = {
 
-         exe = "gofmt",
 
-         args = {},
 
-       },
 
-     },
 
-     html = {},
 
-     java = {
 
-       java_tools = {
 
-         active = false,
 
-       },
 
-     },
 
-     json = {
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       formatter = {
 
-         exe = "python",
 
-         args = { "-m", "json.tool" },
 
-       },
 
-     },
 
-     kotlin = {},
 
-     latex = {
 
-       auto_save = false,
 
-       ignore_errors = { },
 
-     },
 
-     lua = {
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       formatter = {
 
-         exe = "stylua",
 
-         args = {},
 
-         stdin = false,
 
-       },
 
-     },
 
-     php = {
 
-       format = {
 
-         format = {
 
-           default = "psr12",
 
-         },
 
-       },
 
-       environment = {
 
-         php_version = "7.4",
 
-       },
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       filetypes = { "php", "phtml" },
 
-       formatter = {
 
-         exe = "phpcbf",
 
-         args = { "--standard=PSR12", vim.api.nvim_buf_get_name(0) },
 
-         stdin = false,
 
-       },
 
-     },
 
-     python = {
 
-       -- @usage can be flake8 or yapf
 
-       linter = "",
 
-       isort = false,
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       analysis = {
 
-         type_checking = "basic",
 
-         auto_search_paths = true,
 
-         use_library_code_types = true,
 
-       },
 
-       formatter = {
 
-         exe = "yapf",
 
-         args = {},
 
-       },
 
-     },
 
-     ruby = {
 
-       diagnostics = {
 
-         virtualtext = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       filetypes = { "rb", "erb", "rakefile", "ruby" },
 
-       formatter = {
 
-         exe = "rufo",
 
-         args = { "-x" },
 
-       },
 
-     },
 
-     rust = {
 
-       rust_tools = {
 
-         active = false,
 
-         parameter_hints_prefix = "<-",
 
-         other_hints_prefix = "=>", -- prefix for all the other hints (type, chaining)
 
-       },
 
-       -- @usage can be clippy
 
-       formatter = {
 
-         exe = "rustfmt",
 
-         args = { "--emit=stdout", "--edition=2018" },
 
-       },
 
-       linter = "",
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-     },
 
-     sh = {
 
-       -- @usage can be 'shellcheck'
 
-       linter = "",
 
-       -- @usage can be 'shfmt'
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       formatter = {
 
-         exe = "shfmt",
 
-         args = { "-w" },
 
-         stdin = false,
 
-       },
 
-     },
 
-     svelte = {},
 
-     tailwindcss = {
 
-       active = false,
 
-       filetypes = {
 
-         "html",
 
-         "css",
 
-         "scss",
 
-         "javascript",
 
-         "javascriptreact",
 
-         "typescript",
 
-         "typescriptreact",
 
-       },
 
-       formatter = {
 
-         exe = "prettier",
 
-         args = { "--write", "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
 
-         stdin = false,
 
-       },
 
-     },
 
-     terraform = {},
 
-     tsserver = {
 
-       -- @usage can be 'eslint' or 'eslint_d'
 
-       linter = "",
 
-       diagnostics = {
 
-         virtual_text = { spacing = 0, prefix = "" },
 
-         signs = true,
 
-         underline = true,
 
-       },
 
-       formatter = {
 
-         exe = "prettier",
 
-         args = { "--write", "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
 
-         stdin = false,
 
-       },
 
-     },
 
-     vim = {},
 
-     yaml = {
 
-       formatter = {
 
-         exe = "prettier",
 
-         args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
 
-       },
 
-     },
 
-   },
 
- }
 
- require "lv-zen.config"
 
- require "lv-compe.config"
 
- require "lv-dashboard.config"
 
- require "lv-floatterm.config"
 
- require "lv-galaxyline.config"
 
- require "lv-gitsigns.config"
 
- require "lv-telescope.config"
 
- require "lv-floatterm.config"
 
- require "lv-dap.config"
 
- require "lv-which-key.config"
 
- require "lv-treesitter.config"
 
 
  |