gitsigns, comment, cmake
This commit is contained in:
34
init.lua
34
init.lua
@ -9,40 +9,6 @@ require('my_plugins')
|
||||
require('my_keymappings')
|
||||
require('my_options')
|
||||
require("my_autocommands")
|
||||
-------------------- GITSIGNS ------------------------------
|
||||
require('gitsigns').setup({
|
||||
current_line_blame = true,
|
||||
current_line_blame_opts = {
|
||||
virt_text = true,
|
||||
virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
|
||||
delay = 1000,
|
||||
ignore_whitespace = false,
|
||||
},
|
||||
})
|
||||
-------------------- COMMENTED -----------------------------
|
||||
require('Comment').setup({
|
||||
toggler = {
|
||||
---line-comment toggle
|
||||
line = '<leader>cc',
|
||||
},
|
||||
opleader = {
|
||||
---line-comment opfunc mapping
|
||||
line = '<leader>c',
|
||||
},
|
||||
})
|
||||
-------------------- CMAKE ---------------------------------
|
||||
-- require('telescope').load_extension('cmake')
|
||||
require('cmake').setup({
|
||||
parameters_file = 'neovim.json', -- JSON file to store information about selected target, run arguments and build type.
|
||||
build_dir = '{cwd}/build_nvim', -- Build directory. The expressions `{cwd}`, `{os}` and `{build_type}` will be expanded with the corresponding text values.
|
||||
})
|
||||
utils.map('n', '<F5>', ':CMake build<CR>:copen<CR>')
|
||||
|
||||
-- msbuild errorformat
|
||||
opt.errorformat:append("\\ %#%f(%l\\\\\\,%c):\\ %m")
|
||||
-- cl.exe errorformat
|
||||
-- o.errorformat:append('\ %#%f(%l) : %#%t%[A-z]%# %m')
|
||||
|
||||
-------------------- LUALINE -------------------------------
|
||||
require('lualine').setup {
|
||||
options = {theme = 'gruvbox-material'},
|
||||
|
Reference in New Issue
Block a user