aboutsummaryrefslogtreecommitdiff
path: root/Common/nvim/lua
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2022-10-20 15:34:14 +0200
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2022-10-20 15:34:14 +0200
commit2c9ca86b6a834e1be66678eee78246f8339b3e73 (patch)
tree5077e0eaeca5c7b6ca6aebb8799e0e0659c259ec /Common/nvim/lua
parent523cce3069f5aff6be3ddb284ca81ba040f84f3d (diff)
downloaddotfiles-2c9ca86b6a834e1be66678eee78246f8339b3e73.tar.gz
dotfiles-2c9ca86b6a834e1be66678eee78246f8339b3e73.zip
Config
Diffstat (limited to 'Common/nvim/lua')
-rw-r--r--Common/nvim/lua/lsp-conf.lua (renamed from Common/nvim/lua/plugins-conf.lua)0
-rwxr-xr-xCommon/nvim/lua/plugins.lua45
2 files changed, 43 insertions, 2 deletions
diff --git a/Common/nvim/lua/plugins-conf.lua b/Common/nvim/lua/lsp-conf.lua
index 0b494a5..0b494a5 100644
--- a/Common/nvim/lua/plugins-conf.lua
+++ b/Common/nvim/lua/lsp-conf.lua
diff --git a/Common/nvim/lua/plugins.lua b/Common/nvim/lua/plugins.lua
index 0f7adcd..555dad3 100755
--- a/Common/nvim/lua/plugins.lua
+++ b/Common/nvim/lua/plugins.lua
@@ -104,17 +104,58 @@ return require('packer').startup(function(use)
]]
end,
}
+ -- vim-fugitive (Git commands)
+ use { 'tpope/vim-fugitive' }
-- Surround
use { 'tpope/vim-surround' }
+ -- Tree-sitter-mysql
+ use { 'PatrickFeiring/tree-sitter-sql' }
+
-- terryma/vim-multiple-cursors
-- preservim/nerdcommenter
-- Lsp things
use 'neovim/nvim-lsp'
- use 'neovim/nvim-lspconfig'
+ 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/nvim-lsp-installer'
+ use {
+ 'williamboman/nvim-lsp-installer',
+ config = function()
+
+ end,
+ }
use 'ms-jpq/coq_nvim'
use 'mfussenegger/nvim-jdtls'