First step toward completing IDE

Update Settings to make lualine work again
Disable treesitter temporarily
This commit is contained in:
Fabian Schmidt 2021-07-14 14:17:19 +02:00
parent c1516e7018
commit aa4d71c989
3 changed files with 14 additions and 9 deletions

View File

@ -1,7 +1,7 @@
-- init.lua -- init.lua
require('lua/plugins') require('plugins')
require('lua/settings') require('settings')
require('lua/maps') require('maps')
require('lua/commands') require('commands')
require('lua/utils') require('utils')

View File

@ -23,4 +23,6 @@ paq 'nvim-telescope/telescope.nvim'
-- lsp -- lsp
paq 'neovim/nvim-lspconfig' paq 'neovim/nvim-lspconfig'
paq 'nvim-lua/completion-nvim'
-- treesitter
-- paq 'nvim-treesitter/nvim-treesitter'

View File

@ -21,6 +21,7 @@ opt('o', 'incsearch', true)
opt('o', 'ignorecase', true) opt('o', 'ignorecase', true)
opt('o', 'scrolloff', 12) opt('o', 'scrolloff', 12)
opt('o', 'mouse', 'a') opt('o', 'mouse', 'a')
opt('o', 'autochdir', true)
-- window-local options -- window-local options
opt('wo', 'number', true) opt('wo', 'number', true)
@ -41,15 +42,17 @@ opt('bo', 'undofile', true)
opt('o', 'guifont', 'Source Code Pro for Powerline') opt('o', 'guifont', 'Source Code Pro for Powerline')
-- Statusline -- Statusline
local lualine = require('lualine') require'lualine'.setup {
lualine.status() options = {
theme = 'onedark'
}
}
-- Bufferline -- Bufferline
local bufferline = require('bufferline') local bufferline = require('bufferline')
bufferline.setup() bufferline.setup()
local function ColorDarcula() local function ColorDarcula()
lualine.options.theme = 'onedark'
vim.g.limelight_conceal_ctermfg = 'gray' vim.g.limelight_conceal_ctermfg = 'gray'
cmd 'colorscheme darcula' cmd 'colorscheme darcula'
end end