added neorg and stuff
This commit is contained in:
parent
aec100c010
commit
73b336e19f
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
||||
"DAPInstall.nvim": { "branch": "main", "commit": "8798b4c36d33723e7bba6ed6e2c202f84bb300de" },
|
||||
"LuaSnip": { "branch": "master", "commit": "cdbf6f41381e5ee4810b4b09284b603d8f18365d" },
|
||||
"LuaSnip": { "branch": "master", "commit": "80a8528f084a97b624ae443a6f50ff8074ba486b" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "234822140b265ec4ba3203e3e0be0e0bb826dff5" },
|
||||
"bufdelete.nvim": { "branch": "master", "commit": "07d1f8ba79dec59d42b975a4df1c732b2e4e37b4" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "357cc8f8eeb64702e6fcf2995e3b9becee99a5d3" },
|
||||
|
@ -13,33 +13,36 @@
|
|||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"colorbuddy.nvim": { "branch": "master", "commit": "cdb5b0654d3cafe61d2a845e15b2b4b0e78e752a" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "43727c2ff84240e55d4069ec3e6158d74cb534b6" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "ff01d34daaed72f271a8ffa088a7e839a60c640f" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" },
|
||||
"gopher.nvim": { "branch": "main", "commit": "ac27f4b6794c872140fb205313d79ab166892fe9" },
|
||||
"harpoon": { "branch": "master", "commit": "c1aebbad9e3d13f20bedb8f2ce8b3a94e39e424a" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "b808248f6a93ff4a2ed2932d68c6833ae167ecfc" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "73fbf5ccabd0233653bdeb4bb2b07fcfa97b57e0" },
|
||||
"lsp-zero.nvim": { "branch": "v2.x", "commit": "abd2208cf967b911402d32262042b71bdff06c26" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "ddefe5ab051e7ca6a7b374754f0920c44668b54f" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "2546441840172cc41e70f67c52e205cc7aa3e6ed" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "e42fccc3cda70266e0841c5126de2c23e8982800" },
|
||||
"lsp-zero.nvim": { "branch": "v2.x", "commit": "5613177a9428578c00f0abdbd8e3493b962ac66d" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "09be3766669bfbabbe2863c624749d8da392c916" },
|
||||
"mason.nvim": { "branch": "main", "commit": "cd7835b15f5a4204fc37e0aa739347472121a54c" },
|
||||
"neorg": { "branch": "main", "commit": "073f04cdc5dc291f069935e36cdcd60927f67d5d" },
|
||||
"neoscroll.nvim": { "branch": "master", "commit": "4bc0212e9f2a7bc7fe7a6bceb15b33e39f0f41fb" },
|
||||
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "748e72c05495a3d30e88a6ef04b21697019a9aa9" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
|
||||
"nvim-dap": { "branch": "master", "commit": "e79007c6d7a24db3ad19ea9196f1f0b2840e8ae7" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "0f04d78619cce9a5af4f355968040f7d675854a1" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "d3a3056204e1a9dbb7c7fe36c114dc43b681768c" },
|
||||
"nvim-dap": { "branch": "master", "commit": "b595c820018a15b6d54bf53b5cbeaa6f2d7a27e2" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" },
|
||||
"nvim-highlight-colors": { "branch": "main", "commit": "231547093a788b925b8fc36351ad422701c3a8c8" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "2b361e043810d5587d9af0787f8ce40da92ec5e9" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "53b0bcaadaffb505acff230578b56a86ec1ab38a" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "0eb1a0ad1c82e080e77e7b9d7a5e42632cefb543" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "7241635869b7a8115893ffa67bab3907756caf4f" },
|
||||
"nvim-ts-rainbow2": { "branch": "master", "commit": "b3120cd5ae9ca524af9cb602f41e12e301fa985f" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "a1e6268779411048a87f767a27380089362a0ce2" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "9ce85b0f7dcfe5358c0be937ad23e456907d410b" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "6428fcab6f3c09e934bc016c329806314384a41e" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "78a9ca5ed6557f29cd0ce203df44213e54bfabb9" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "74ea25f95db4dcc61b4311aac02461a075db9c61" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "92e688f013c69f90c9bbd596019ec10235bc51de" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "f0267921c845c42685968401bc49aa65e18d3e09" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "5a747a9587e4bfc4ae086a38cc679fe54f983b69" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "9fda1322e704acfbb5a9691e2c4303368d591367" },
|
||||
"rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" },
|
||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "6e51d0cd6447cf2525412220ff0a2885eef9039c" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "4522d7e3ea75ffddabdc39957168a8a7060b5df0" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "c80844fd52ba76f48fabf83e2b9f9b93273f418d" },
|
||||
"undotree": { "branch": "master", "commit": "0e11ba7325efbbb3f3bebe06213afa3e7ec75131" },
|
||||
"undotree": { "branch": "master", "commit": "3ff3aa02fd3a18d7fc5be9ed3166d36c545707fe" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "3bd2ab64b5d63b29e05691e624927e5ebbf0fb86" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "7ccf476ebe0445a741b64e36c78a682c1c6118b7" }
|
||||
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
|
||||
}
|
52
lua/Lazy.lua
52
lua/Lazy.lua
|
@ -1,13 +1,13 @@
|
|||
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system {
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
}
|
||||
vim.fn.system {
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
}
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
|
@ -16,23 +16,23 @@ vim.g.mapleader = " " -- make sure to set `mapleader` before lazy so your mappin
|
|||
|
||||
-- load lazy
|
||||
require("lazy").setup("user", {
|
||||
-- install = { colorscheme = { require("user.colorscheme").name } },
|
||||
defaults = { lazy = true, version = "57cce98dfdb2f2dd05a0567d89811e6d0505e13b" },
|
||||
ui = { wrap = "true" },
|
||||
change_detection = { enabled = true },
|
||||
debug = false,
|
||||
performance = {
|
||||
rtp = {
|
||||
disabled_plugins = {
|
||||
-- "gzip", -- Plugin for editing compressed files.
|
||||
-- "matchit", -- What is it?
|
||||
-- "matchparen", -- Plugin for showing matching parens
|
||||
-- "netrwPlugin", -- Handles file transfers and remote directory listing across a network
|
||||
-- "tarPlugin", -- Plugin for browsing tar files
|
||||
-- "tohtml", -- Converting a syntax highlighted file to HTML
|
||||
-- "tutor", -- Teaching?
|
||||
-- "zipPlugin", -- Handles browsing zipfiles
|
||||
},
|
||||
-- install = { colorscheme = { require("user.colorscheme").name } },
|
||||
defaults = { lazy = true },
|
||||
ui = { wrap = "true" },
|
||||
change_detection = { enabled = true },
|
||||
debug = false,
|
||||
performance = {
|
||||
rtp = {
|
||||
disabled_plugins = {
|
||||
-- "gzip", -- Plugin for editing compressed files.
|
||||
-- "matchit", -- What is it?
|
||||
-- "matchparen", -- Plugin for showing matching parens
|
||||
-- "netrwPlugin", -- Handles file transfers and remote directory listing across a network
|
||||
-- "tarPlugin", -- Plugin for browsing tar files
|
||||
-- "tohtml", -- Converting a syntax highlighted file to HTML
|
||||
-- "tutor", -- Teaching?
|
||||
-- "zipPlugin", -- Handles browsing zipfiles
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -9,7 +9,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
|||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
pattern = { "gitcommit", "markdown" },
|
||||
pattern = { "gitcommit", "markdown", "norg" },
|
||||
callback = function()
|
||||
vim.opt_local.wrap = true
|
||||
vim.opt_local.spell = true
|
||||
|
|
|
@ -17,16 +17,12 @@ vim.g.mapleader = " "
|
|||
|
||||
-- Normal --
|
||||
-- Resize with arrows
|
||||
keymap("n", "<C-Up>", ":resize -2<CR>", opts)
|
||||
keymap("n", "<C-Down>", ":resize +2<CR>", opts)
|
||||
keymap("n", "<C-Left>", ":vertical resize -2<CR>", opts)
|
||||
keymap("n", "<C-Right>", ":vertical resize +2<CR>", opts)
|
||||
|
||||
-- show the undo tree
|
||||
keymap("n", "<leader>u", vim.cmd.UndotreeToggle)
|
||||
|
||||
-- Open the file explorer
|
||||
keymap("n", "<S-f>", ":E<CR>", opts)
|
||||
keymap("n", "<S-f>", ":Telescope file_browser path=%:p:h select_buffer=true<CR>", opts)
|
||||
|
||||
-- Navigate buffers
|
||||
keymap("n", "<S-l>", ":bnext<CR>", opts)
|
||||
|
@ -50,8 +46,13 @@ keymap("n", "<C-Up>", "{", opts)
|
|||
keymap("n", "<C-Right>", "E", opts)
|
||||
keymap("n", "<C-Left>", "B", opts)
|
||||
|
||||
-- moving to the beginning or end of the current word
|
||||
keymap("n", "<S-Right>", "e", opts)
|
||||
keymap("n", "<S-Left>", "b", opts)
|
||||
|
||||
-- Better paste
|
||||
keymap("v", "p", "P", opts)
|
||||
keymap("n", "<C-S-v>", "p", opts)
|
||||
keymap("i", "<c-s-v>", "<ESC>:normal p<CR>a", opts)
|
||||
|
||||
-- saving
|
||||
keymap("n", "<C-s>", ":w!<CR>", opts)
|
||||
|
|
|
@ -1,43 +1,52 @@
|
|||
vim.opt.backup = false -- creates a backup file
|
||||
vim.opt.clipboard = "unnamedplus" -- allows neovim to access the system clipboard
|
||||
vim.opt.cmdheight = 1 -- more space in the neovim command line for displaying messages
|
||||
vim.opt.backup = false -- creates a backup file
|
||||
vim.opt.clipboard = "unnamedplus" -- allows neovim to access the system clipboard
|
||||
vim.opt.cmdheight = 1 -- more space in the neovim command line for displaying messages
|
||||
vim.opt.completeopt = { "menuone", "noselect" } -- mostly just for cmp
|
||||
vim.opt.conceallevel = 0 -- so that `` is visible in markdown files
|
||||
vim.opt.fileencoding = "utf-8" -- the encoding written to a file
|
||||
vim.opt.hlsearch = true -- highlight all matches on previous search pattern
|
||||
vim.opt.ignorecase = true -- ignore case in search patterns
|
||||
vim.opt.mouse = "a" -- allow the mouse to be used in neovim
|
||||
vim.opt.pumheight = 10 -- pop up menu height
|
||||
vim.opt.showmode = true -- we don't need to see things like -- INSERT -- anymore
|
||||
vim.opt.showtabline = 0 -- always show tabs
|
||||
vim.opt.smartcase = true -- smart case
|
||||
vim.opt.smartindent = true -- make indenting smarter again
|
||||
vim.opt.splitbelow = true -- force all horizontal splits to go below current window
|
||||
vim.opt.splitright = true -- force all vertical splits to go to the right of current window
|
||||
vim.opt.swapfile = false -- creates a swapfile
|
||||
vim.opt.termguicolors = true -- set term gui colors (most terminals support this)
|
||||
vim.opt.conceallevel = 3 -- so that `` is visible in markdown files
|
||||
vim.opt.fileencoding = "utf-8" -- the encoding written to a file
|
||||
vim.opt.hlsearch = true -- highlight all matches on previous search pattern
|
||||
vim.opt.ignorecase = true -- ignore case in search patterns
|
||||
vim.opt.mouse = "a" -- allow the mouse to be used in neovim
|
||||
vim.opt.pumheight = 10 -- pop up menu height
|
||||
vim.opt.showmode = false -- we don't need to see things like -- INSERT -- anymore
|
||||
vim.opt.showtabline = 0 -- always show tabs
|
||||
vim.opt.smartcase = true -- smart case
|
||||
vim.opt.smartindent = true -- make indenting smarter again
|
||||
vim.opt.splitbelow = true -- force all horizontal splits to go below current window
|
||||
vim.opt.splitright = true -- force all vertical splits to go to the right of current window
|
||||
vim.opt.swapfile = false -- creates a swapfile
|
||||
vim.opt.termguicolors = true -- set term gui colors (most terminals support this)
|
||||
vim.opt.timeout = true
|
||||
vim.opt.timeoutlen = 300 -- time to wait for a mapped sequence to complete (in milliseconds)
|
||||
vim.opt.undofile = true -- enable persistent undo
|
||||
vim.opt.updatetime = 300 -- faster completion (4000ms default)
|
||||
vim.opt.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
|
||||
vim.opt.expandtab = true -- convert tabs to spaces
|
||||
vim.opt.shiftwidth = 4 -- the number of spaces inserted for each indentation
|
||||
vim.opt.tabstop = 4 -- insert 2 spaces for a tab
|
||||
vim.opt.cursorline = true -- highlight the current line
|
||||
vim.opt.number = true -- set numbered lines
|
||||
vim.opt.laststatus = 3 -- only the last window will always have a status line
|
||||
vim.opt.showcmd = false -- hide (partial) command in the last line of the screen (for performance)
|
||||
vim.opt.ruler = true -- hide the line and column number of the cursor position
|
||||
vim.opt.numberwidth = 4 -- minimal number of columns to use for the line number {default 4}
|
||||
vim.opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time
|
||||
vim.opt.wrap = false -- display lines as one long line
|
||||
vim.opt.scrolloff = 8 -- minimal number of screen lines to keep above and below the cursor
|
||||
vim.opt.sidescrolloff = 8 -- minimal number of screen columns to keep to the left and right of the cursor if wrap is `false`
|
||||
vim.opt.guifont = "IntoneMono Nerd Font:h12" -- the font used in graphical neovim applications
|
||||
vim.opt.fillchars:append('eob: ') -- show empty lines at the end of a buffer as ` ` {default `~`}
|
||||
vim.opt.shortmess:append "c" -- hide all the completion messages, e.g. "-- XXX completion (YYY)", "match 1 of 2", "The only match", "Pattern not found"
|
||||
vim.opt.whichwrap:append "<,>,[,],h,l" -- keys allowed to move to the previous/next line when the beginning/end of line is reached
|
||||
vim.opt.iskeyword:append "-" -- treats words with `-` as single words
|
||||
vim.opt.formatoptions:remove { "c", "r", "o" } -- This is a sequence of letters which describes how automatic formatting is to be done
|
||||
vim.opt.timeoutlen = 300 -- time to wait for a mapped sequence to complete (in milliseconds)
|
||||
vim.opt.undofile = true -- enable persistent undo
|
||||
vim.opt.updatetime = 300 -- faster completion (4000ms default)
|
||||
vim.opt.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
|
||||
vim.opt.expandtab = false -- convert tabs to spaces
|
||||
vim.opt.shiftwidth = 4 -- the number of spaces inserted for each indentation
|
||||
vim.opt.tabstop = 4 -- insert 2 spaces for a tab
|
||||
vim.opt.cursorline = true -- highlight the current line
|
||||
vim.opt.number = true -- set numbered lines
|
||||
vim.opt.laststatus = 3 -- only the last window will always have a status line
|
||||
vim.opt.showcmd = false -- hide (partial) command in the last line of the screen (for performance)
|
||||
vim.opt.ruler = true -- hide the line and column number of the cursor position
|
||||
vim.opt.numberwidth = 4 -- minimal number of columns to use for the line number {default 4}
|
||||
vim.opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time
|
||||
vim.opt.wrap = false -- display lines as one long line
|
||||
vim.opt.scrolloff = 8 -- minimal number of screen lines to keep above and below the cursor
|
||||
vim.opt.sidescrolloff = 8 -- minimal number of screen columns to keep to the left and right of the cursor if wrap is `false`
|
||||
vim.opt.guifont = "IntoneMono Nerd Font:h12" -- the font used in graphical neovim applications
|
||||
vim.opt.fillchars:append "eob: " -- show empty lines at the end of a buffer as ` ` {default `~`}
|
||||
vim.opt.shortmess:append "c" -- hide all the completion messages, e.g. "-- XXX completion (YYY)", "match 1 of 2", "The only match", "Pattern not found"
|
||||
vim.opt.whichwrap:append "<,>,[,],h,l" -- keys allowed to move to the previous/next line when the beginning/end of line is reached
|
||||
vim.opt.iskeyword:append "-" -- treats words with `-` as single words
|
||||
vim.opt.formatoptions:remove { "c", "r", "o" } -- This is a sequence of letters which describes how automatic formatting is to be done
|
||||
vim.opt.linebreak = false
|
||||
vim.opt.foldlevel = 99
|
||||
|
||||
if vim.g.neovide then
|
||||
vim.g.neovide_padding_top = 13
|
||||
vim.g.neovide_padding_bottom = 13
|
||||
vim.g.neovide_padding_right = 13
|
||||
vim.g.neovide_padding_left = 13
|
||||
vim.g.neovide_cursor_animation_length = 0
|
||||
end
|
||||
|
|
|
@ -6,7 +6,24 @@ local M = {
|
|||
|
||||
function M.config()
|
||||
vim.api.nvim_command ":colorscheme default"
|
||||
vim.api.nvim_command ":hi Normal guibg=#0F101050"
|
||||
vim.api.nvim_command ":hi Normal guibg=#0F1010"
|
||||
|
||||
vim.cmd "let g:terminal_color_0 = '#0F1010'"
|
||||
vim.cmd "let g:terminal_color_1 = '#F8C8DC'"
|
||||
vim.cmd "let g:terminal_color_2 = '#BFD7B5'"
|
||||
vim.cmd "let g:terminal_color_3 = '#F5BBA1'"
|
||||
vim.cmd "let g:terminal_color_4 = '#8EB6F5'"
|
||||
vim.cmd "let g:terminal_color_5 = '#F49AC2'"
|
||||
vim.cmd "let g:terminal_color_6 = '#C1E7E3'"
|
||||
vim.cmd "let g:terminal_color_7 = '#E1DBEB'"
|
||||
vim.cmd "let g:terminal_color_8 = '#2A2A2D'"
|
||||
vim.cmd "let g:terminal_color_9 = '#F8C8DC'"
|
||||
vim.cmd "let g:terminal_color_10 = '#BFD7B5'"
|
||||
vim.cmd "let g:terminal_color_11 = '#F5BBA1'"
|
||||
vim.cmd "let g:terminal_color_12 = '#8EB6F5'"
|
||||
vim.cmd "let g:terminal_color_13 = '#F49AC2'"
|
||||
vim.cmd "let g:terminal_color_14 = '#C1E7E3'"
|
||||
vim.cmd "let g:terminal_color_15 = '#E1DBEB'"
|
||||
|
||||
local Color, colors, Group, groups, styles = require("colorbuddy").setup()
|
||||
|
||||
|
@ -38,18 +55,16 @@ function M.config()
|
|||
Color.new("white", "#E1DBEB")
|
||||
Color.new("bright_white", "#E1DBEB")
|
||||
Color.new("beige", "#808080")
|
||||
Color.new("bright_beige", "#A8A29E")
|
||||
|
||||
Color.new("gray01", "#1B1B1B")
|
||||
Color.new("gray02", "#2A2A2A")
|
||||
Color.new("gray03", "#3E3E43")
|
||||
Color.new("gray04", "#57575F")
|
||||
Color.new("gray06", "#9998A8")
|
||||
Color.new("gray07", "#C1C0D4")
|
||||
Color.new("gray05", "#9998A8")
|
||||
|
||||
-- Define highlights in terms of `colors` and `groups`
|
||||
Group.new("LineNR", colors.gray03, colors.none, styles.NONE)
|
||||
Group.new("CursorLineNR", colors.gray06, colors.none, styles.NONE)
|
||||
Group.new("CursorLineNR", colors.gray05, colors.none, styles.NONE)
|
||||
Group.new("CursorLine", colors.none, colors.gray02, styles.NONE)
|
||||
Group.new("Cursor", colors.white, colors.white, styles.bold)
|
||||
|
||||
|
@ -75,36 +90,46 @@ function M.config()
|
|||
Group.new("Character", colors.string, colors.none, styles.NONE)
|
||||
Group.new("Float", colors.yellow, colors.none, styles.NONE)
|
||||
Group.new("Include", colors.purple, colors.none, styles.italic)
|
||||
Group.new("Keyword", colors.blue, colors.none, styles.NONE)
|
||||
Group.new("Keyword", colors.magenta, colors.none, styles.NONE)
|
||||
Group.new("Label", colors.purple, colors.none, styles.NONE)
|
||||
Group.new("Number", colors.yellow, colors.none, styles.NONE)
|
||||
Group.new("Operator", colors.blue, colors.none, styles.NONE)
|
||||
Group.new("Structure", colors.cyan, colors.none, styles.NONE)
|
||||
Group.new("Todo", colors.white, colors.blue, styles.bold)
|
||||
Group.new("SpecialComment", colors.white, colors.blue, styles.bold)
|
||||
Group.new("Special", colors.error, colors.none, styles.italic)
|
||||
Group.new("StatusLine", colors.status_line_fg, colors.gray01, styles.NONE)
|
||||
Group.new("Type", colors.cyan, colors.none, styles.NONE)
|
||||
Group.new("Repeat", colors.purple, colors.none, styles.italic)
|
||||
Group.new("Identifier", colors.foreground, colors.none, styles.NONE)
|
||||
Group.new("SignColumn", colors.foreground, colors.none, styles.NONE)
|
||||
Group.new("Search", colors.none, colors.gray04, styles.NONE)
|
||||
Group.new("Macro", colors.foreground)
|
||||
Group.new("PreProc", colors.foreground)
|
||||
Group.new("Macro", colors.green)
|
||||
Group.new("PreProc", colors.cyan)
|
||||
Group.new("NormalFloat", colors.foreground)
|
||||
Group.new("MatchParen", colors.foreground, colors.none, styles.italic)
|
||||
Group.new("Statement", colors.red, colors.none, styles.italic)
|
||||
Group.new("Delimiter", colors.purple, colors.none, styles.NONE)
|
||||
Group.new("NonText", colors.red, colors.none, styles.NONE)
|
||||
Group.new("Underlined", colors.blue, colors.none, styles.italic)
|
||||
|
||||
Group.new("Title", colors.red)
|
||||
|
||||
Group.new("Directory", colors.foreground)
|
||||
Group.new("netrwList", colors.yellow)
|
||||
|
||||
Group.new("rustDeriveTrait", colors.cyan)
|
||||
Group.new("rustIdentifier", colors.foreground)
|
||||
Group.new("rustIdentifier", colors.yellow)
|
||||
Group.new("rustExternCrate", colors.foreground)
|
||||
|
||||
Group.new("TSPunctDelimiter", colors.yellow, colors.none, styles.NONE)
|
||||
Group.new("TSPunctDelimiter", colors.foreground, colors.none, styles.NONE)
|
||||
Group.new("TSMethod", colors.yellow, colors.none, styles.NONE)
|
||||
Group.new("TSField", colors.yellow, colors.none, styles.NONE)
|
||||
Group.new("TSProperty", colors.yellow, colors.none, styles.NONE)
|
||||
Group.new("TSVariable", colors.foreground, colors.none, styles.NONE)
|
||||
Group.new("TSVariableBuiltin", colors.red, colors.none, styles.NONE)
|
||||
Group.new("TSFunc", colors.green, colors.none, styles.italic)
|
||||
Group.new("TSFuncBuiltin", colors.green, colors.none, styles.italic)
|
||||
Group.new("TSType", colors.cyan, colors.none, styles.NONE)
|
||||
Group.new("TSTypeBuiltin", colors.red, colors.none, styles.NONE)
|
||||
Group.new("TSConstant", colors.red, colors.none, styles.NONE)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
local M = {
|
||||
"olexsmir/gopher.nvim",
|
||||
requires = { -- dependencies
|
||||
dependencies = { -- dependencies
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
|
|
|
@ -27,6 +27,7 @@ function M.config()
|
|||
require("lspconfig").lua_ls.setup(lsp.nvim_lua_ls())
|
||||
require("lspconfig").gopls.setup {}
|
||||
require("lspconfig").zls.setup {}
|
||||
require("lspconfig").rust_analyzer.setup {}
|
||||
|
||||
lsp.setup()
|
||||
end
|
||||
|
|
39
lua/user/neorg.lua
Normal file
39
lua/user/neorg.lua
Normal file
|
@ -0,0 +1,39 @@
|
|||
local M = {
|
||||
"nvim-neorg/neorg",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
lazy = false,
|
||||
}
|
||||
|
||||
function M.config()
|
||||
require("neorg").setup {
|
||||
load = {
|
||||
["core.defaults"] = {}, -- Loads default behaviour
|
||||
["core.highlights"] = {},
|
||||
["core.mode"] = {},
|
||||
["core.export"] = {},
|
||||
["core.completion"] = {
|
||||
config = {
|
||||
engine = "nvim-cmp",
|
||||
},
|
||||
},
|
||||
["core.concealer"] = {
|
||||
config = {
|
||||
icon_preset = "diamond",
|
||||
},
|
||||
}, -- Adds pretty icons to your documents
|
||||
["core.integrations.treesitter"] = {},
|
||||
["core.neorgcmd"] = {},
|
||||
["core.dirman"] = { -- Manages Neorg workspaces
|
||||
config = {
|
||||
workspaces = {
|
||||
notes = "~/notes/neorg",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
0
lua/user/nrog
Normal file
0
lua/user/nrog
Normal file
|
@ -1,28 +0,0 @@
|
|||
local M = {
|
||||
"HiPhish/nvim-ts-rainbow2",
|
||||
lazy = false,
|
||||
priority = 900,
|
||||
}
|
||||
|
||||
function M.config()
|
||||
vim.api.nvim_set_hl(0, "TSRainbowRed", { fg = "#F8C8DC" })
|
||||
vim.api.nvim_set_hl(0, "TSRainbowYellow", { fg = "#F5BBA1" })
|
||||
vim.api.nvim_set_hl(0, "TSRainbowOrange", { fg = "#F5BBA1" })
|
||||
vim.api.nvim_set_hl(0, "TSRainbowMagenta", { fg = "#F49AC2" })
|
||||
vim.api.nvim_set_hl(0, "TSRainbowBlue", { fg = "#8EB6F5" })
|
||||
vim.api.nvim_set_hl(0, "TSRainbowGreen", { fg = "#BFD7b5" })
|
||||
vim.api.nvim_set_hl(0, "TSRainbowViolet", { fg = "#C3B1E1" })
|
||||
vim.api.nvim_set_hl(0, "TSRainbowCyan", { fg = "#C1E7E3" })
|
||||
|
||||
require("nvim-treesitter.configs").setup {
|
||||
rainbow = {
|
||||
enable = true,
|
||||
-- Which query to use for finding delimiters
|
||||
query = "rainbow-parens",
|
||||
-- Highlight the entire buffer all at once
|
||||
strategy = require("ts-rainbow").strategy.global,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
8
lua/user/rainbow.lua
Normal file
8
lua/user/rainbow.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
local M = {
|
||||
"HiPhish/rainbow-delimiters.nvim",
|
||||
lazy = false,
|
||||
}
|
||||
|
||||
function M.config() end
|
||||
|
||||
return M
|
9
lua/user/rust-tools.lua
Normal file
9
lua/user/rust-tools.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
local M = {
|
||||
"simrat39/rust-tools.nvim",
|
||||
}
|
||||
|
||||
function M.config()
|
||||
require("rust-tools").setup {}
|
||||
end
|
||||
|
||||
return M
|
30
lua/user/telescope-file-browser.lua
Normal file
30
lua/user/telescope-file-browser.lua
Normal file
|
@ -0,0 +1,30 @@
|
|||
local M = {
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
||||
}
|
||||
|
||||
function M.config()
|
||||
require("telescope").setup {
|
||||
extensions = {
|
||||
file_browser = {
|
||||
hijack_netrw = true,
|
||||
theme = "ivy",
|
||||
git_status = false,
|
||||
mappings = {
|
||||
["i"] = {
|
||||
-- your custom insert mode mappings
|
||||
},
|
||||
["n"] = {
|
||||
-- your custom normal mode mappings
|
||||
["%"] = require("telescope").extensions.file_browser.actions.create,
|
||||
["D"] = require("telescope").extensions.file_browser.actions.remove,
|
||||
["R"] = require("telescope").extensions.file_browser.actions.rename,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
require("telescope").load_extension "file_browser"
|
||||
end
|
||||
|
||||
return M
|
|
@ -10,6 +10,8 @@ M.servers = {
|
|||
"jsonls",
|
||||
"yamlls",
|
||||
"gopls",
|
||||
"rust_analyzer",
|
||||
"zls",
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
10
spell/en.utf-8.add
Normal file
10
spell/en.utf-8.add
Normal file
|
@ -0,0 +1,10 @@
|
|||
filepath
|
||||
filepaths
|
||||
asc
|
||||
json
|
||||
example_config
|
||||
toml
|
||||
config
|
||||
GPG
|
||||
npg
|
||||
Flac
|
BIN
spell/en.utf-8.add.spl
Normal file
BIN
spell/en.utf-8.add.spl
Normal file
Binary file not shown.
Loading…
Reference in a new issue