Last active
July 5, 2022 09:01
-
-
Save FScoward/f2e8cfa1c32f19ff67a22bd7354aeb26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('plugins') | |
vim.o.number=true | |
vim.o.expandtab=true | |
vim.o.smartindent=true | |
vim.o.softtabstop=2 | |
vim.o.encoding="utf-8" | |
vim.o.fileencodings="utf-8,cp932" | |
vim.o.clipboard="unnamed,unnamedplus" | |
vim.o.shiftwidth=2 | |
-- indent-blanklin.vim | |
vim.opt.termguicolors = true | |
vim.cmd [[highlight IndentBlanklineIndent1 guifg=#E06C75 gui=nocombine]] | |
vim.cmd [[highlight IndentBlanklineIndent2 guifg=#E5C07B gui=nocombine]] | |
vim.cmd [[highlight IndentBlanklineIndent3 guifg=#98C379 gui=nocombine]] | |
vim.cmd [[highlight IndentBlanklineIndent4 guifg=#56B6C2 gui=nocombine]] | |
vim.cmd [[highlight IndentBlanklineIndent5 guifg=#61AFEF gui=nocombine]] | |
vim.cmd [[highlight IndentBlanklineIndent6 guifg=#C678DD gui=nocombine]] | |
vim.opt.list = true | |
vim.opt.listchars:append("space:⋅") | |
vim.opt.listchars:append("eol:↴") | |
require("indent_blankline").setup { | |
space_char_blankline = " ", | |
char_highlight_list = { | |
"IndentBlanklineIndent1", | |
"IndentBlanklineIndent2", | |
"IndentBlanklineIndent3", | |
"IndentBlanklineIndent4", | |
"IndentBlanklineIndent5", | |
"IndentBlanklineIndent6", | |
}, | |
} | |
-- other-nvim | |
require("other-nvim").setup({ | |
mappings = { | |
-- builtin mappings | |
"livewire", | |
"angular", | |
"laravel", | |
-- custom mapping | |
{ | |
pattern = "/path/to/file/src/app/(.*)/.*.ext$", | |
target = "/path/to/file/src/view/%1/", | |
transformer = "lowercase" | |
} | |
}, | |
transformers = { | |
-- defining a custom transformer | |
lowercase = function (inputString) | |
return inputString:lower() | |
end | |
} | |
}) | |
-- lualine | |
require('lualine').setup{ | |
options = { theme = 'gruvbox' } | |
} | |
-- sidebar-nvim | |
require("sidebar-nvim").setup() | |
-- toggleterm | |
require("toggleterm").setup{} | |
-- legendary | |
require("legendary").setup() | |
require("nvim-gps").setup() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment