From aa4d71c989c1ae74a0cc1237aa746237001d96a4 Mon Sep 17 00:00:00 2001 From: Fabian Schmidt Date: Wed, 14 Jul 2021 14:17:19 +0200 Subject: [PATCH] First step toward completing IDE Update Settings to make lualine work again Disable treesitter temporarily --- init.lua | 10 +++++----- lua/plugins.lua | 4 +++- lua/settings.lua | 9 ++++++--- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/init.lua b/init.lua index 3b343a9..46b19a3 100644 --- a/init.lua +++ b/init.lua @@ -1,7 +1,7 @@ -- init.lua -require('lua/plugins') -require('lua/settings') -require('lua/maps') -require('lua/commands') -require('lua/utils') +require('plugins') +require('settings') +require('maps') +require('commands') +require('utils') diff --git a/lua/plugins.lua b/lua/plugins.lua index b89cb09..4662c80 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -23,4 +23,6 @@ paq 'nvim-telescope/telescope.nvim' -- lsp paq 'neovim/nvim-lspconfig' -paq 'nvim-lua/completion-nvim' + +-- treesitter +-- paq 'nvim-treesitter/nvim-treesitter' diff --git a/lua/settings.lua b/lua/settings.lua index cdd9d7d..146f928 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -21,6 +21,7 @@ opt('o', 'incsearch', true) opt('o', 'ignorecase', true) opt('o', 'scrolloff', 12) opt('o', 'mouse', 'a') +opt('o', 'autochdir', true) -- window-local options opt('wo', 'number', true) @@ -41,15 +42,17 @@ opt('bo', 'undofile', true) opt('o', 'guifont', 'Source Code Pro for Powerline') -- Statusline -local lualine = require('lualine') -lualine.status() +require'lualine'.setup { + options = { + theme = 'onedark' + } +} -- Bufferline local bufferline = require('bufferline') bufferline.setup() local function ColorDarcula() - lualine.options.theme = 'onedark' vim.g.limelight_conceal_ctermfg = 'gray' cmd 'colorscheme darcula' end