okay now i'm really done

This commit is contained in:
Anish L 2022-02-26 16:42:37 +10:00
parent d05e426ea1
commit bec619c7f6

View file

@ -269,8 +269,8 @@ in
"bufferline
" These commands will navigate through buffers in order regardless of which mode you are using
nnoremap <silent>[b :BufferLineCycleNext<CR>
nnoremap <silent>b] :BufferLineCyclePrev<CR>
nnoremap <silent>gt :BufferLineCycleNext<CR>
nnoremap <silent>gT :BufferLineCyclePrev<CR>
" lua config
lua <<EOF
@ -355,16 +355,17 @@ require('lspconfig').terraform_lsp.setup {}
-- Bufferline
require('bufferline').setup {}
-- treesitter
require('nvim-treesitter.configs').setup { ensure_installed = ['nix', 'clojure', 'python', 'typescript']}
-- lualine
require('nvim-gps').setup {}
local gps = require('nvim-gps')
require('lualine').setup {
sections = {
lualine_a = {'mode'},
lualine_b = {'branch', 'diff', 'diagnostics'},
lualine_c = {
'filename', { gps.get_location, condition=gps.is_available },
},
lualine_x = {'fileformat', 'filetype'},
lualine_y = {
function()
local msg = 'No Active Lsp'
@ -382,7 +383,6 @@ require('lualine').setup {
return msg
end
},
lualine_z = {'location'}
}
}