add luals and stylua

This commit is contained in:
2026-06-01 17:26:04 +03:00
parent 7af9dde325
commit df5a87965e
4 changed files with 31 additions and 24 deletions

View File

@@ -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

View File

@@ -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',

View File

@@ -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 = {

1
.zshrc
View File

@@ -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"