diff options
author | Joe <rrbo@proton.me> | 2023-09-05 14:06:02 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-05 14:06:02 +0200 |
commit | 48d755f58d4958fd9e3cb0c62fbef3589d6606d0 (patch) | |
tree | 93c0b8d22a3194fc8cb4aa0fc4168185cde0144d /.config/nvim | |
parent | up (diff) | |
download | dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.gz dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.bz2 dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.xz dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.tar.zst dotfiles-bsd-48d755f58d4958fd9e3cb0c62fbef3589d6606d0.zip |
up
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/plugs-config/asyncomplete.lua | 13 | ||||
-rw-r--r-- | .config/nvim/lua/plugs-config/floaterm.lua | 9 | ||||
-rw-r--r-- | .config/nvim/lua/plugs-config/lualine.lua | 40 |
3 files changed, 62 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugs-config/asyncomplete.lua b/.config/nvim/lua/plugs-config/asyncomplete.lua new file mode 100644 index 0000000..da28c37 --- /dev/null +++ b/.config/nvim/lua/plugs-config/asyncomplete.lua @@ -0,0 +1,13 @@ +vim.cmd [[ +autocmd User asyncomplete_setup call asyncomplete#register_source( + \ asyncomplete#sources#clang#get_source_options({ + \ 'config': { + \ 'clang_path': '/usr/bin/cc', + \ 'clang_args': { + \ 'default': ['-I/usr/include'], + \ 'c': ['-std=c89', '-I/usr/include'], + \ 'cpp': ['-std=c++98', '-I/usr/include'] + \ } + \ } + \ })) +]] diff --git a/.config/nvim/lua/plugs-config/floaterm.lua b/.config/nvim/lua/plugs-config/floaterm.lua new file mode 100644 index 0000000..7f80d65 --- /dev/null +++ b/.config/nvim/lua/plugs-config/floaterm.lua @@ -0,0 +1,9 @@ +vim.g.floaterm_autoinsert = 1 +vim.g.floaterm_width = 0.6 +vim.g.floaterm_height = 0.45 +vim.g.floaterm_wintitle = 0 +vim.g.floaterm_autoclose = 1 +vim.g.floaterm_position = 'bottom' +vim.g.floaterm_gitcommit = 'split' +vim.g.floaterm_wintype = 'floating' +vim.g.floaterm_rootmarkers = { '.project', '.git', '.hg', '.svn', '.root', '.gitignore', '.fslckout', '.fossil-settings' } diff --git a/.config/nvim/lua/plugs-config/lualine.lua b/.config/nvim/lua/plugs-config/lualine.lua new file mode 100644 index 0000000..ef1c2c3 --- /dev/null +++ b/.config/nvim/lua/plugs-config/lualine.lua @@ -0,0 +1,40 @@ +require('lualine').setup { + options = { + icons_enabled = true, + theme = 'gruvbox', + section_separators = { left = '', right = '' }, + component_separators = { left = '', right = '' }, + disabled_filetypes = { + statusline = {}, + winbar = {}, + }, + ignore_focus = {}, + always_divide_middle = true, + globalstatus = false, + refresh = { + statusline = 1000, + tabline = 1000, + winbar = 1000, + } + }, + sections = { + lualine_a = {'mode'}, + lualine_b = {'branch', 'diff', 'diagnostics'}, + lualine_c = {'filename'}, + lualine_x = {}, + lualine_y = {'filetype'}, + lualine_z = {'location'} + }, + inactive_sections = { + lualine_a = {}, + lualine_b = {}, + lualine_c = {'filename'}, + lualine_x = {}, + lualine_y = {}, + lualine_z = {} + }, + tabline = {}, + winbar = {}, + inactive_winbar = {}, + extensions = {} +} |