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