aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.lua2
-rw-r--r--.config/nvim/lua/simenandre/plugins/plugins.lua10
-rw-r--r--.gitconfig2
-rw-r--r--.path.zsh1
4 files changed, 13 insertions, 2 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index ad8b33b..f9c97c6 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -8,7 +8,7 @@ end ---@diagnostic disable-next-line: undefined-field
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
- { import = "simenandre.plugins" },
+ { import = "simenandre.plugins", rocks = { enabled = false } },
}, {
ui = {
-- If you are using a Nerd Font: set icons to an empty table which will use the
diff --git a/.config/nvim/lua/simenandre/plugins/plugins.lua b/.config/nvim/lua/simenandre/plugins/plugins.lua
index 53f76e5..a6c5ba4 100644
--- a/.config/nvim/lua/simenandre/plugins/plugins.lua
+++ b/.config/nvim/lua/simenandre/plugins/plugins.lua
@@ -347,6 +347,16 @@ return {
local servers = {
-- clangd = {},
gopls = {},
+ zls = {
+ root_dir = require("lspconfig.util").root_pattern(".git", "build.zig", "zls.json"),
+ settings = {
+ zls = {
+ enable_inlay_hints = true,
+ enable_snippets = true,
+ warn_style = true,
+ },
+ },
+ },
-- pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
diff --git a/.gitconfig b/.gitconfig
index 8293345..017cd90 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -12,7 +12,7 @@ whitespace = fix
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
trustctime = false
editor = nvim
-excludesfile = /Users/cobraz/.gitignore_global
+excludesfile = ~/.gitignore_global
[color]
# Use colors in Git commands that are capable of colored output when
diff --git a/.path.zsh b/.path.zsh
index febb59e..ef41549 100644
--- a/.path.zsh
+++ b/.path.zsh
@@ -9,4 +9,5 @@ add_to_path() {
# Add ghq to PATH
add_to_path "$GOPATH/bin"
+add_to_path "/Library/Frameworks/Firebird.framework/Resources/bin"