From 7a98ab3b5034c5f7a29f1b461348338f6ffe3b4a Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sat, 10 Jun 2023 11:03:43 +0200 Subject: Some clean up --- lua/alpha/lsp/servers.lua | 1 + lua/config/options.lua | 9 +++------ lua/plugins/neorg.lua | 1 + 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'lua') diff --git a/lua/alpha/lsp/servers.lua b/lua/alpha/lsp/servers.lua index 32a344a..fefdf28 100644 --- a/lua/alpha/lsp/servers.lua +++ b/lua/alpha/lsp/servers.lua @@ -65,6 +65,7 @@ return { filetypes = { "php", "cucumber" }, } end, + ["pyright"] = default, ["rust_analyzer"] = function() return { on_attach = lsp_attach, diff --git a/lua/config/options.lua b/lua/config/options.lua index 30a3127..7cbc205 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -3,7 +3,7 @@ vim.g.snippets = "luasnip" local opt = vim.o -opt.mouse = false +opt.mouse = "" opt.number = true opt.relativenumber = true opt.conceallevel = 3 @@ -37,8 +37,5 @@ opt.cmdheight = 1 opt.updatetime = 50 opt.signcolumn = "yes" opt.equalalways = false - -if vim.fn.has "nvim-0.9.0" == 1 then - opt.splitkeep = "screen" - opt.shortmess = "filnxtToOFWIcC" -end +opt.splitkeep = "screen" +opt.shortmess = "filnxtToOFWIcC" diff --git a/lua/plugins/neorg.lua b/lua/plugins/neorg.lua index 2c44bcf..9273453 100644 --- a/lua/plugins/neorg.lua +++ b/lua/plugins/neorg.lua @@ -12,6 +12,7 @@ return { workspaces = { notes = "~/notes", }, + default_workspace = "notes", }, }, }, -- cgit v1.2.3