Compare commits

..

No commits in common. "21dcb21444acf0e8b0361206e75e80632782efaa" and "d029e2a06e11abea67c2cc9ae8aa0a0dd20c517c" have entirely different histories.

2 changed files with 3 additions and 15 deletions

View file

@ -1,14 +1,3 @@
local function total_lines()
local lc = vim.fn.line('$')
if lc < 1 then
return ''
elseif lc == 1 then
return '(1 line)'
else
return string.format('(%d lines)', lc)
end
end
require("lualine").setup { require("lualine").setup {
options = { options = {
theme = 'moonfly', theme = 'moonfly',
@ -17,8 +6,8 @@ require("lualine").setup {
lualine_a = { 'buffers' }, lualine_a = { 'buffers' },
lualine_b = {}, lualine_b = {},
lualine_c = {}, lualine_c = {},
lualine_x = { 'filename' }, lualine_x = {},
lualine_y = { total_lines }, lualine_y = { 'filename' },
lualine_z = { 'tabs' }, lualine_z = { 'tabs' },
}, },
sections = { sections = {

View file

@ -1,11 +1,10 @@
local configs = require("nvim-treesitter.configs") local configs = require("nvim-treesitter.configs")
configs.setup({ configs.setup({
ensure_installed = { "rust", "lua", "vim", "vimdoc", "ocaml", ensure_installed = { "rust", "lua", "vim", "vimdoc", "latex", "ocaml",
"yaml", "dockerfile", "bash", "html", "javascript", "css", "go", "yaml", "dockerfile", "bash", "html", "javascript", "css", "go",
"json", "python", "fish" }, "json", "python", "fish" },
sync_install = false, sync_install = false,
disable = { "latex" },
highlight = { highlight = {
enable = true, enable = true,
disable = { "make" }, disable = { "make" },