Compare commits

..

6 Commits

Author SHA1 Message Date
0bdaff2282 mason lsp 2026-01-30 23:35:41 -06:00
cbf12def45 jphp sup 2026-01-30 10:45:28 -06:00
eab1653d4e plugins 2026-01-26 16:04:02 -06:00
d9dbec840a Update README.md 2026-01-14 13:17:48 -06:00
poslop
2c6ea74dec update readme install 2026-01-14 13:17:02 -06:00
poslop
efb9359686 gitignore 2026-01-14 13:12:54 -06:00
9 changed files with 44 additions and 31 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
lazy-lock.json

View File

@@ -1,6 +1,6 @@
column_width = 120
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
indent_width = 4
quote_style = "AutoPreferDouble"
call_parentheses = "None"

View File

@@ -1,3 +1,7 @@
## Install
```
git clone https://git.archfox.org/poslop/nvbad ~/.config/nvim && nvim
```
**This repo is supposed to be used as config by NvChad users!**
- The main nvchad repo (NvChad/NvChad) is used as a plugin by this repo.

View File

@@ -1,6 +1,6 @@
require("nvchad.configs.lspconfig").defaults()
local servers = { "html", "cssls" }
vim.lsp.enable(servers)
-- local servers = { "phpactor" }
-- vim.lsp.enable(servers)
-- read :h vim.lsp.config for changing options of lsp servers

6
lua/plugins/conform.lua Normal file
View File

@@ -0,0 +1,6 @@
return {
{
"stevearc/conform.nvim",
opts = require "configs.conform",
}
}

View File

@@ -1,28 +0,0 @@
return {
{
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
opts = require "configs.conform",
},
-- These are some examples, uncomment them if you want to see them work!
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
},
-- test new blink
-- { import = "nvchad.blink.lazyspec" },
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = {
-- ensure_installed = {
-- "vim", "lua", "vimdoc",
-- "html", "css"
-- },
-- },
-- },
}

8
lua/plugins/lsp.lua Normal file
View File

@@ -0,0 +1,8 @@
return {
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
}
}

5
lua/plugins/markdown.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
{
"iamcco/markdown-preview.nvim"
}
}

17
lua/plugins/mason.lua Normal file
View File

@@ -0,0 +1,17 @@
return {
{
"williamboman/mason-lspconfig.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"mason-org/mason.nvim",
"neovim/nvim-lspconfig",
},
opts = {
ensure_installed = {
"phpactor",
"lua_ls",
"nil_ls"
}
}
}
}