Compare commits
No commits in common. "ce3b31dbb07bd4be478f6ed7e2b1cdbb5b93a6f0" and "a4220dbc98c7af29d915d9da9c59f6c7ebae3fa8" have entirely different histories.
ce3b31dbb0
...
a4220dbc98
@ -1,7 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ texliveTeTeX ];
|
||||
programs.pandoc = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.textwidth = 120
|
||||
vim.opt_local.textwidth = 0
|
||||
vim.opt_local.wrap = false
|
||||
|
||||
vim.keymap.set("n", "<leader>fr", "<cmd>MarkdownPreview<CR>", {
|
||||
|
@ -1,3 +1,4 @@
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.textwidth = 0
|
||||
vim.opt_local.modeline = true
|
||||
vim.opt_local.wrap = false
|
||||
|
@ -145,46 +145,10 @@ return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
"Decodetalkers/csharpls-extended-lsp.nvim",
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
dependencies = {
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
opts = {
|
||||
|
||||
automatic_installation = true,
|
||||
ensure_installed = {
|
||||
"tsserver",
|
||||
},
|
||||
},
|
||||
},
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
{
|
||||
"nvim-java/nvim-java",
|
||||
ft = { "java" },
|
||||
config = function()
|
||||
require("java").setup()
|
||||
|
||||
require("lspconfig").jdtls.setup({
|
||||
capabilities = lsp_capabilities,
|
||||
on_attach = on_attach,
|
||||
init_options = {
|
||||
extendedClientCapabilities = {
|
||||
-- Have to disable this to make jdtls actually show hovers lol
|
||||
clientHoverProvider = false,
|
||||
},
|
||||
},
|
||||
settings = {
|
||||
java = {
|
||||
inlayHints = {
|
||||
parameterNames = {
|
||||
enabled = "all",
|
||||
exclusions = { "this" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
config = true,
|
||||
dependencies = {
|
||||
"nvim-java/lua-async-await",
|
||||
"nvim-java/nvim-java-refactor",
|
||||
@ -192,19 +156,21 @@ return {
|
||||
"nvim-java/nvim-java-test",
|
||||
"nvim-java/nvim-java-dap",
|
||||
"MunifTanjim/nui.nvim",
|
||||
"neovim/nvim-lspconfig",
|
||||
"mfussenegger/nvim-dap",
|
||||
"williamboman/mason.nvim",
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
registries = {
|
||||
"github:nvim-java/mason-registry",
|
||||
"github:mason-org/mason-registry",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
max_concurrent_installers = 12,
|
||||
registries = {
|
||||
"github:nvim-java/mason-registry",
|
||||
"github:mason-org/mason-registry",
|
||||
},
|
||||
},
|
||||
cmd = {
|
||||
"Mason",
|
||||
"MasonLog",
|
||||
@ -213,7 +179,11 @@ return {
|
||||
"MasonUninstall",
|
||||
"MasonUninstallAll",
|
||||
},
|
||||
opts = {
|
||||
max_concurrent_installers = 12,
|
||||
},
|
||||
},
|
||||
"simrat39/rust-tools.nvim",
|
||||
"Hoffs/omnisharp-extended-lsp.nvim",
|
||||
"b0o/schemastore.nvim",
|
||||
{
|
||||
@ -312,8 +282,17 @@ return {
|
||||
},
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local mason_lspconfig = require("mason-lspconfig")
|
||||
local lspconfig = require("lspconfig")
|
||||
|
||||
-- NOTE: Keep this near top
|
||||
mason_lspconfig.setup({
|
||||
automatic_installation = true,
|
||||
ensure_installed = {
|
||||
"tsserver",
|
||||
},
|
||||
})
|
||||
|
||||
-- NOTE: ANSIBLE LSP
|
||||
-- I use ansible a lot, define exceptions for servers that can use
|
||||
-- server:setup & vim.cmd at the bottom here
|
||||
@ -505,6 +484,7 @@ return {
|
||||
"eslint",
|
||||
"html",
|
||||
"cssls",
|
||||
"jdtls",
|
||||
"kotlin_language_server",
|
||||
"terraformls",
|
||||
"tflint",
|
||||
|
Loading…
x
Reference in New Issue
Block a user