Compare commits

..

3 Commits

Author SHA1 Message Date
Thomas Avé 72f30bdad8 Load wallpaper 2023-07-19 13:38:57 +02:00
Thomas Avé 8be5663d93 Switch to Lazy.nvim 2023-07-19 13:38:57 +02:00
Thomas Avé 04f315c7a7 Add Kotlin LSP 2023-07-19 13:38:57 +02:00
4 changed files with 92 additions and 52 deletions

View File

@ -26,6 +26,7 @@ local run_on_start_up = {
"xcape -e \"Super_L=Super_L|XF86Launch5\" -t 5000", "xcape -e \"Super_L=Super_L|XF86Launch5\" -t 5000",
"xmodmap /home/user/.Xmodmap", "xmodmap /home/user/.Xmodmap",
os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh", os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh",
"feh --no-fehbg --bg-fill " .. gears.filesystem.get_configuration_dir() .. "/images/wallpaper.png",
-- "/opt/power/powersave.sh", -- "/opt/power/powersave.sh",
-- os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh" -- os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh"
} }

37
nvim/lazy-lock.json Normal file
View File

@ -0,0 +1,37 @@
{
"Comment.nvim": { "branch": "master", "commit": "176e85eeb63f1a5970d6b88f1725039d85ca0055" },
"awesomewm-vim-tmux-navigator": { "branch": "master", "commit": "e448723a099a4a702830ffa73791bf5e99b5ef69" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"editorconfig.nvim": { "branch": "master", "commit": "5b9e303e1d6f7abfe616ce4cc8d3fffc554790bf" },
"friendly-snippets": { "branch": "main", "commit": "ea84a710262cb2c286d439070bad37d36fd3db25" },
"lazy.nvim": { "branch": "main", "commit": "14d76aac4bd3ff07c1fca074c210f28f766a931e" },
"leap.nvim": { "branch": "main", "commit": "7eeeb3ff74ff8cabd583a061492e76c1c6d2bac8" },
"lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" },
"lush.nvim": { "branch": "main", "commit": "b10ef2bfff0647e701b691019ade3edd5e44eb50" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "828a538ac8419f586c010996aefa5df6eb7c250b" },
"mason.nvim": { "branch": "main", "commit": "5ad3e113b0c3fde3caba8630599373046f6197e8" },
"neogit": { "branch": "master", "commit": "3d63d76f04dc7102c83a057ded30a93822b59dec" },
"nvim-autopairs": { "branch": "master", "commit": "ae5b41ce880a6d850055e262d6dfebd362bb276e" },
"nvim-cmp": { "branch": "main", "commit": "c4e491a87eeacf0408902c32f031d802c7eafce8" },
"nvim-lspconfig": { "branch": "master", "commit": "447443a2404adc323ad2efc7c0a346a904ce694c" },
"nvim-tree.lua": { "branch": "master", "commit": "59e65d88db177ad1e6a8cffaafd4738420ad20b6" },
"nvim-treesitter": { "branch": "master", "commit": "9fa6806b88905d52b5ca36094909630919b432cc" },
"nvim-web-devicons": { "branch": "master", "commit": "efbfed0567ef4bfac3ce630524a0f6c8451c5534" },
"plenary.nvim": { "branch": "master", "commit": "267282a9ce242bbb0c5dc31445b6d353bed978bb" },
"supertab": { "branch": "master", "commit": "f0093ae12a9115498f887199809a6114659fc858" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9bc8237565ded606e6c366a71c64c0af25cd7a50" },
"telescope.nvim": { "branch": "master", "commit": "47c755d737702df7a39b640c8d9c473a728be1df" },
"trim.nvim": { "branch": "master", "commit": "2df124c2c2844d3143091ebd3ae8b49bbe06bc5e" },
"trouble.nvim": { "branch": "main", "commit": "20d1b30d6925213abece21d35858a16e11d1e9fc" },
"undotree": { "branch": "master", "commit": "0e11ba7325efbbb3f3bebe06213afa3e7ec75131" },
"vim-bracketed-paste": { "branch": "master", "commit": "45411da73cc159e4fc2138d930553d247bbfbcdc" },
"vim-python-pep8-indent": { "branch": "master", "commit": "60ba5e11a61618c0344e2db190210145083c91f8" },
"vim-rooter": { "branch": "master", "commit": "4f52ca556a0b9e257bf920658714470ea0320b7a" },
"vim-vsnip": { "branch": "master", "commit": "7753ba9c10429c29d25abfd11b4c60b76718c438" },
"vim-vsnip-integ": { "branch": "master", "commit": "1914e72cf3de70df7f5dde476cd299aba2440aef" },
"vimtex": { "branch": "master", "commit": "5e50cc0e96e8a8ffc6fd10d627d65b8d1354b5da" },
"vimwiki": { "branch": "dev", "commit": "09804c2a5f1009fde29e32c5f3a6093e4684433a" }
}

View File

@ -150,6 +150,10 @@ require('lspconfig').tsserver.setup {
capabilities = capabilities capabilities = capabilities
} }
require('lspconfig').kotlin_language_server.setup {
capabilities = capabilities
}
require('lspconfig').vuels.setup { require('lspconfig').vuels.setup {
capabilities = capabilities capabilities = capabilities
} }

View File

@ -1,52 +1,50 @@
require('packer').startup(function(use) -- Install Lazy.nvim
use 'mbbill/undotree' local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
use 'nvim-tree/nvim-web-devicons' if not vim.loop.fs_stat(lazypath) then
use 'airblade/vim-rooter' vim.fn.system({
use "rafamadriz/friendly-snippets" "git",
use 'ConradIrwin/vim-bracketed-paste' "clone",
use 'Vimjas/vim-python-pep8-indent' "--filter=blob:none",
use 'cappyzawa/trim.nvim' "https://github.com/folke/lazy.nvim.git",
use '~/.config/nvim/colorschemes/material' "--branch=stable", -- latest stable release
use 'gpanders/editorconfig.nvim' lazypath,
use 'ervandew/supertab' })
use 'williamboman/mason.nvim' end
use 'williamboman/mason-lspconfig.nvim' vim.opt.rtp:prepend(lazypath)
use 'ggandor/leap.nvim'
use 'hrsh7th/cmp-buffer' require('lazy').setup({
use 'hrsh7th/cmp-cmdline' 'mbbill/undotree',
use 'hrsh7th/cmp-nvim-lsp' 'nvim-tree/nvim-web-devicons',
use 'hrsh7th/cmp-path' 'airblade/vim-rooter',
use 'hrsh7th/nvim-cmp' "rafamadriz/friendly-snippets",
use 'hrsh7th/vim-vsnip' 'ConradIrwin/vim-bracketed-paste',
use 'hrsh7th/vim-vsnip-integ' 'Vimjas/vim-python-pep8-indent',
use "rktjmp/lush.nvim" 'cappyzawa/trim.nvim',
use 'lervag/vimtex' 'gpanders/editorconfig.nvim',
use 'neovim/nvim-lspconfig' 'ervandew/supertab',
use 'numToStr/Comment.nvim' 'williamboman/mason.nvim',
use 'vimwiki/vimwiki' 'williamboman/mason-lspconfig.nvim',
use 'intrntbrn/awesomewm-vim-tmux-navigator' 'ggandor/leap.nvim',
use 'wbthomason/packer.nvim' 'hrsh7th/cmp-buffer',
use 'windwp/nvim-autopairs' 'hrsh7th/cmp-cmdline',
use { 'TimUntersberger/neogit', requires = 'nvim-lua/plenary.nvim' } 'hrsh7th/cmp-nvim-lsp',
use {'nvim-lualine/lualine.nvim', requires = { 'kyazdani42/nvim-web-devicons', opt = true }} 'hrsh7th/cmp-path',
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'} 'hrsh7th/nvim-cmp',
use {'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/plenary.nvim'}}} 'hrsh7th/vim-vsnip',
use { 'hrsh7th/vim-vsnip-integ',
'nvim-treesitter/nvim-treesitter', "rktjmp/lush.nvim",
run = function() 'lervag/vimtex',
local ts_update = require('nvim-treesitter.install').update({ with_sync = true }) 'neovim/nvim-lspconfig',
ts_update() 'numToStr/Comment.nvim',
end, 'vimwiki/vimwiki',
} 'intrntbrn/awesomewm-vim-tmux-navigator',
use { 'windwp/nvim-autopairs',
"folke/trouble.nvim", { 'TimUntersberger/neogit', dependencies = {'nvim-lua/plenary.nvim'} },
requires = "kyazdani42/nvim-web-devicons" {'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', opt = true }},
} { 'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' },
use { {'nvim-telescope/telescope.nvim', dependencies = {'nvim-lua/plenary.nvim'}},
'kyazdani42/nvim-tree.lua', {"nvim-treesitter/nvim-treesitter", build = ":TSUpdate"},
requires = { {"folke/trouble.nvim", dependencies = {"nvim-tree/nvim-web-devicons"}},
'kyazdani42/nvim-web-devicons', -- optional, for file icons {'nvim-tree/nvim-tree.lua', dependencies = {'nvim-tree/nvim-web-devicons'}, tag = 'nightly'},
}, {dir = '~/.config/nvim/colorschemes/material'},
tag = 'nightly' -- optional, updated every week. (see issue #1193) })
}
end)