aboutsummaryrefslogtreecommitdiff
path: root/Common/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2023-12-13 09:57:47 +0100
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2023-12-13 09:58:53 +0100
commitb1b7cba696cf2ff69b837cb777d779b1bd0b840c (patch)
tree82a1ad6725aac0dbc3285fced5db684152c6fe6c /Common/nvim/lua/plugins.lua
parent1c65b72425b4376bbf899a9ed58dfe60dee0552c (diff)
downloaddotfiles-b1b7cba696cf2ff69b837cb777d779b1bd0b840c.tar.gz
dotfiles-b1b7cba696cf2ff69b837cb777d779b1bd0b840c.zip
Change to Mason
Diffstat (limited to 'Common/nvim/lua/plugins.lua')
-rwxr-xr-xCommon/nvim/lua/plugins.lua81
1 files changed, 37 insertions, 44 deletions
diff --git a/Common/nvim/lua/plugins.lua b/Common/nvim/lua/plugins.lua
index c307129..d80bf28 100755
--- a/Common/nvim/lua/plugins.lua
+++ b/Common/nvim/lua/plugins.lua
@@ -113,55 +113,34 @@ return require('packer').startup(function(use)
use { 'tpope/vim-surround' }
-- Tree-sitter-mysql
- use { 'PatrickFeiring/tree-sitter-sql' }
+ -- use { 'PatrickFeiring/tree-sitter-sql' }
-- terryma/vim-multiple-cursors
-- preservim/nerdcommenter
-- Lsp things
- use 'neovim/nvim-lsp'
- use {
- 'neovim/nvim-lspconfig',
- config = function()
- local lsp_flags = {
- -- This is the default in Nvim 0.7+
- debounce_text_changes = 150,
- }
- local lspconfig = require('lspconfig')
- lspconfig['pyright'].setup{
- on_attach = on_attach,
- flags = lsp_flags,
- }
- lspconfig.ccls.setup {
- single_file_support = true;
- init_options = {
- compilationDatabaseDirectory = "build";
- index = {
- threads = 0;
- };
- clang = {
- excludeArgs = { "-frounding-math"} ;
- };
- }
- }
-
- lspconfig.ccls.setup{}
- lspconfig.intelephense.setup{}
- lspconfig.cssls.setup{}
- lspconfig.html.setup{}
- lspconfig.bashls.setup{}
- end,
- }
- --use 'kabouzeid/nvim-lspinstall'
use {
'williamboman/mason.nvim',
- config = function()
-
- end,
+ 'williamboman/mason-lspconfig.nvim',
+ 'neovim/nvim-lspconfig' ,
}
use 'ms-jpq/coq_nvim'
+ -- Language-specifics
+ use 'simrat39/rust-tools.nvim'
+ --use 'mfussenegger/nvim-jdtls'
+
+ -- Completion framework:
+ use 'hrsh7th/nvim-cmp'
+ -- LSP completion source:
+ use 'hrsh7th/cmp-nvim-lsp'
+ -- Useful completion sources:
+ use 'hrsh7th/cmp-nvim-lua'
+ use 'hrsh7th/cmp-nvim-lsp-signature-help'
+ use 'hrsh7th/cmp-vsnip'
+ use 'hrsh7th/cmp-path'
+ use 'hrsh7th/cmp-buffer '
+ use 'hrsh7th/vim-vsnip'
- use 'mfussenegger/nvim-jdtls'
-- Goyo :)
use {
@@ -187,20 +166,31 @@ return require('packer').startup(function(use)
config = function ()
vim.g.vimwiki_list = {
{
- path = '~/Nextcloud/wiki/P01/',
+ path = '~/Nextcloud/wiki/I45',
syntax = 'markdown',
ext = 'md',
- --nested_syntaxes = {
- -- python = 'python',
- --},
+ name = 'I45',
+ auto_toc = 1,
+ diary_frequency = 'daily',
+ nested_syntaxes = {
+ python = 'python',
+ sql = 'sql',
+ },
},
{
- path = '~/Nextcloud/wiki/I45',
+ path = '~/Nextcloud/wiki/P01/',
syntax = 'markdown',
ext = 'md',
+ name = 'P01',
+ --nested_syntaxes = {
+ -- python = 'python',
+ --},
},
}
vim.g.vimwiki_global_ext = 0
+ vim.g.vimwiki_auto_header = 1
+ vim.g.vimwiki_links_space_char = '_'
+ vim.g.vimwiki_url_maxsave = 0
end,
}
use {
@@ -225,6 +215,9 @@ return require('packer').startup(function(use)
}
-- packer.nvim
+ use 'evanleck/vim-svelte'
+ use 'pangloss/vim-javascript'
+
-- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins
if packer_bootstrap then