diff --git a/README.md b/README.md index 808b3b6..29559de 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,20 @@ Information can be found at Note: According to the first link it is required to clone the packer stuff locally. This is done on MacOS and Windows in a slightly different way. Consult https://github.com/wbthomason/packer.nvim#quickstart on details. +Hint: On Unix use + + git clone --depth 1 https://github.com/wbthomason/packer.nvim\ + ~/.local/share/nvim/site/pack/packer/start/packer.nvim + + +At first start there will be error messages. Ignore them, run ':PackerInstall' and quit and restart nvim. + + +Install nvim on Debian from source: + + git clone https://github.com/neovim/neovim + sudo apt install ninja-build gettext cmake unzip curl + make CMAKE_BUILD_TYPE=Release + sudo make install + + diff --git a/init.lua b/init.lua index 634fbb3..d48cc3a 100644 --- a/init.lua +++ b/init.lua @@ -12,5 +12,8 @@ vim.opt.expandtab = true vim.opt.number = true - +-- vim.o.background = "light" +-- vim.cmd("colorscheme morning") +vim.cmd('colorscheme industry') +-- vim.cmd('colorscheme default') diff --git a/lua/mason-config.lua b/lua/mason-config.lua deleted file mode 100644 index 8accf38..0000000 --- a/lua/mason-config.lua +++ /dev/null @@ -1,3 +0,0 @@ -require("mason").setup() -require("mason-lspconfig").setup() - diff --git a/lua/plugins.lua b/lua/plugins.lua index 0db3bc5..d1da2f4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,14 +1,27 @@ return require('packer').startup(function(use) use 'wbthomason/packer.nvim' --- use 'williamboman/mason.nvim' --- use 'williamboman/mason-lspconfig.nvim' --- use 'neovim/nvim-lspconfig' + use 'hrsh7th/nvim-cmp' --- use 'hrsh7th/cmp-nvim-lsp' --- use 'hrsh7th/cmp-nvim-lsp-signature-help' use 'hrsh7th/cmp-path' use 'hrsh7th/cmp-buffer' - use 'nvim-tree/nvim-tree.lua' - use 'Mofiqul/dracula.nvim' + + use { + 'nvim-tree/nvim-tree.lua', + cmd = { 'NvimTreeToggle', 'NvimTreeFocus' }, + config = function() + require("nvim-tree").setup({ + filters = { + dotfiles = false, + git_clean = false + }, + git = { + ignore = false + } + }) + end + } + + use 'nvim-treesitter/nvim-treesitter' + end) diff --git a/lua/styling.lua b/lua/styling.lua deleted file mode 100644 index 14e8de2..0000000 --- a/lua/styling.lua +++ /dev/null @@ -1 +0,0 @@ -vim.cmd[[colorscheme industry]]