diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-04-19 22:46:03 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-04-19 22:46:03 +0200 |
commit | c07e126c2fcae8ef7e81d1b113dd5ef2669ab23f (patch) | |
tree | f219deb17f33ec46dc811871ee22f43b88ac0730 /.config/nvim/lua/_bufferline | |
parent | 772508a05046097f2437d0940990dd861693ec39 (diff) |
Working lsp in nvim
Diffstat (limited to '.config/nvim/lua/_bufferline')
-rw-r--r-- | .config/nvim/lua/_bufferline/init.lua | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/.config/nvim/lua/_bufferline/init.lua b/.config/nvim/lua/_bufferline/init.lua deleted file mode 100644 index c3bd69a..0000000 --- a/.config/nvim/lua/_bufferline/init.lua +++ /dev/null @@ -1,28 +0,0 @@ -require'bufferline'.setup{ - options = { - view = "default", - numbers = "none", - number_style = "superscript", - mappings = false, - buffer_close_icon= '', - modified_icon = '●', - close_icon = '', - left_trunc_marker = '', - right_trunc_marker = '', - max_name_length = 18, - max_prefix_length = 15, -- prefix used when a buffer is deduplicated - tab_size = 18, - diagnostics = "nvim_lsp", - show_buffer_close_icons = false, - show_tab_indicators = true, - persist_buffer_sort = true, -- whether or not custom sorted buffers should persist - -- can also be a table containing 2 custom separators - -- [focused and unfocused]. eg: { '|', '|' } - separator_style = "thin", - enforce_regular_tabs = false, - always_show_bufferline = true, - sort_by = 'relative_directory' - } -} -vim.api.nvim_set_keymap('n', '<TAB>', ':BufferLineCycleNext<CR>', { noremap = true, silent = true }) -vim.api.nvim_set_keymap('n', '<S-TAB>', ':BufferLineCyclePrev<CR>', { noremap = true, silent = true }) |