summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/k/config.toml3
-rw-r--r--.config/nvim/lsp/lua_ls.lua5
-rw-r--r--.config/nvim/lua/lsp.lua46
-rw-r--r--.zshrc1
4 files changed, 31 insertions, 24 deletions
diff --git a/.config/k/config.toml b/.config/k/config.toml
index 9dafc02..dd9ebce 100644
--- a/.config/k/config.toml
+++ b/.config/k/config.toml
@@ -56,6 +56,8 @@ libsodium-devel
libffi-devel
python3-devel
+stylua
+
'''
[system.dnf]
@@ -67,6 +69,7 @@ options = [
[system.copr]
"scottames/ghostty" = {}
+"yorickpeterse/stylua" = {}
# sudo dnf install ./path/to/package.rpm
# rpm -qp ./path/to/package.rpm
diff --git a/.config/nvim/lsp/lua_ls.lua b/.config/nvim/lsp/lua_ls.lua
index fb03318..0f55a21 100644
--- a/.config/nvim/lsp/lua_ls.lua
+++ b/.config/nvim/lsp/lua_ls.lua
@@ -1,7 +1,10 @@
-- https://github.com/luals/lua-language-server
return {
- cmd = { 'lua-language-server' },
+ cmd = {
+ 'lua-language-server',
+ '--logpath=' .. vim.fn.expand('~/.cache/nvim/lua-language-server/log'),
+ },
filetypes = { 'lua' },
root_markers = {
'.luarc.json',
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua
index 34b7a6a..0855dcc 100644
--- a/.config/nvim/lua/lsp.lua
+++ b/.config/nvim/lua/lsp.lua
@@ -1,29 +1,29 @@
return {
- asm_lsp = true,
- astro = true,
- basedpyright = true, -- python
- bashls = true,
- clangd = true,
- css_variables = true,
- cssls = true,
- gh_actions_ls = true,
+ -- asm_lsp = true,
+ -- astro = true,
+ -- basedpyright = true, -- python
+ -- bashls = true,
+ -- clangd = true,
+ -- css_variables = true,
+ -- cssls = true,
+ -- gh_actions_ls = true,
gopls = true,
- html = true,
- jsonls = true,
- kotlin_language_server = true,
- kotlin_lsp = false,
- lemminx = true, -- xml
+ -- html = true,
+ -- jsonls = true,
+ -- kotlin_language_server = true,
+ -- kotlin_lsp = false,
+ -- lemminx = true, -- xml
lua_ls = true,
- markdown_oxide = true,
- marksman = false, -- markdown
- mdx_analyzer = true,
- neocmake = true,
- nil_ls = true, -- nix
- tailwindcss = true,
- taplo = true, -- toml
- ts_ls = true, -- typescript and yavashit
- yamlls = true,
- zls = true, -- zig
+ -- markdown_oxide = true,
+ -- marksman = false, -- markdown
+ -- mdx_analyzer = true,
+ -- neocmake = true,
+ -- nil_ls = true, -- nix
+ -- tailwindcss = true,
+ -- taplo = true, -- toml
+ -- ts_ls = true, -- typescript and yavashit
+ -- yamlls = true,
+ -- zls = true, -- zig
global = {
capabilities = {
diff --git a/.zshrc b/.zshrc
index d3279df..cacd46a 100644
--- a/.zshrc
+++ b/.zshrc
@@ -119,6 +119,7 @@ export PATH="$PATH:$HOME/.zls"
export PATH="$PATH:$HOME/projects/k/bin"
export PATH="$PATH:$HOME/bin"
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
+export PATH="$PATH:/opt/lua-language-server-linux-x64/bin"
# Start ssh-agent if not running
# export SSH_ASKPASS_REQUIRE="prefer"