Compare commits
2 commits
a5f0698ab0
...
56e14fdc2a
Author | SHA1 | Date | |
---|---|---|---|
56e14fdc2a | |||
707cd30e67 |
3 changed files with 15 additions and 3 deletions
|
@ -39,6 +39,7 @@
|
||||||
"jupytext.nvim": { "branch": "main", "commit": "c8baf3ad344c59b3abd461ecc17fc16ec44d0f7b" },
|
"jupytext.nvim": { "branch": "main", "commit": "c8baf3ad344c59b3abd461ecc17fc16ec44d0f7b" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "c501b429cf995c645454539b924aaefae45bb9eb" },
|
"lazy.nvim": { "branch": "main", "commit": "c501b429cf995c645454539b924aaefae45bb9eb" },
|
||||||
"lsp-setup.nvim": { "branch": "main", "commit": "6e4e977512ce426d8b52c27f3b6e6aefc73e1452" },
|
"lsp-setup.nvim": { "branch": "main", "commit": "6e4e977512ce426d8b52c27f3b6e6aefc73e1452" },
|
||||||
|
"ltex_extra.nvim": { "branch": "dev", "commit": "57192d7ae5ba8cef3c10e90f2cd62d4a7cdaab69" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
||||||
"luarocks.nvim": { "branch": "main", "commit": "1db9093915eb16ba2473cfb8d343ace5ee04130a" },
|
"luarocks.nvim": { "branch": "main", "commit": "1db9093915eb16ba2473cfb8d343ace5ee04130a" },
|
||||||
"markmap.nvim": { "branch": "main", "commit": "5fb6755cf5434511cc23a4936c9eb76b9142fba5" },
|
"markmap.nvim": { "branch": "main", "commit": "5fb6755cf5434511cc23a4936c9eb76b9142fba5" },
|
||||||
|
|
|
@ -20,6 +20,7 @@ local servers = {
|
||||||
eslint = {},
|
eslint = {},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
julials = {},
|
julials = {},
|
||||||
|
ltex = {},
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
@ -27,6 +28,10 @@ local servers = {
|
||||||
-- enable when working on neovim stuff. Takes *long* to load
|
-- enable when working on neovim stuff. Takes *long* to load
|
||||||
-- workspace = { library = vim.api.nvim_get_runtime_file("", true) },
|
-- workspace = { library = vim.api.nvim_get_runtime_file("", true) },
|
||||||
telemetry = { enable = false },
|
telemetry = { enable = false },
|
||||||
|
hint = {
|
||||||
|
enable = true,
|
||||||
|
setType = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -157,7 +162,7 @@ local python_path
|
||||||
lspconfig.basedpyright.setup({
|
lspconfig.basedpyright.setup({
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
on_attach(client, bufnr)
|
on_attach(client, bufnr)
|
||||||
require("core.util").set_python_env()
|
require("core.util").set_python_env()
|
||||||
if python_path == nil then
|
if python_path == nil then
|
||||||
python_path, _ = vim.fn.expand(require("core.util").get_python_venv_bin(client.config.root_dir))
|
python_path, _ = vim.fn.expand(require("core.util").get_python_venv_bin(client.config.root_dir))
|
||||||
end
|
end
|
||||||
|
@ -180,7 +185,7 @@ lspconfig.basedpyright.setup({
|
||||||
lspconfig.ruff.setup({
|
lspconfig.ruff.setup({
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
on_attach(client, bufnr)
|
on_attach(client, bufnr)
|
||||||
require("core.util").set_python_env()
|
require("core.util").set_python_env()
|
||||||
client.server_capabilities.hoverProvider = false -- we use pyright for hover info
|
client.server_capabilities.hoverProvider = false -- we use pyright for hover info
|
||||||
if python_path == nil then
|
if python_path == nil then
|
||||||
python_path, _ = vim.fn.expand(require("core.util").get_python_venv_bin(client.config.root_dir))
|
python_path, _ = vim.fn.expand(require("core.util").get_python_venv_bin(client.config.root_dir))
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
local writing_ft = { "quarto", "pandoc", "markdown", "text", "tex", "typst" }
|
local writing_ft = { "quarto", "pandoc", "markdown", "text", "tex", "typst", "bib", "context", "rst" }
|
||||||
|
|
||||||
local prose_plugs = {
|
local prose_plugs = {
|
||||||
-- UI improvements
|
-- UI improvements
|
||||||
|
@ -179,6 +179,12 @@ local prose_plugs = {
|
||||||
-- require("papis").setup({})
|
-- require("papis").setup({})
|
||||||
-- end,
|
-- end,
|
||||||
-- },
|
-- },
|
||||||
|
{
|
||||||
|
"barreiroleo/ltex_extra.nvim",
|
||||||
|
branch = "dev",
|
||||||
|
ft = writing_ft,
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
return prose_plugs
|
return prose_plugs
|
||||||
|
|
Loading…
Reference in a new issue