Compare commits
3 Commits
892c601787
...
b2e052e6b1
Author | SHA1 | Date | |
---|---|---|---|
b2e052e6b1 | |||
53457b947b | |||
f6f2537040 |
17
README.md
17
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
|
||||
|
||||
|
||||
|
8
init.lua
8
init.lua
@ -1,7 +1,6 @@
|
||||
vim.api.nvim_exec ('language POSIX', true)
|
||||
vim.cmd('language POSIX')
|
||||
|
||||
require('plugins')
|
||||
-- require('mason-config')
|
||||
require('code-completion')
|
||||
require('file-explorer')
|
||||
require('mappings')
|
||||
@ -10,5 +9,10 @@ vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
|
||||
vim.opt.number = true
|
||||
|
||||
-- vim.o.background = "light"
|
||||
-- vim.cmd("colorscheme morning")
|
||||
vim.cmd('colorscheme industry')
|
||||
-- vim.cmd('colorscheme default')
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
require("mason").setup()
|
||||
require("mason-lspconfig").setup()
|
||||
|
@ -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)
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
vim.cmd[[colorscheme industry]]
|
Reference in New Issue
Block a user