summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-29 11:43:17 -0400
committerChris <[email protected]>2021-03-29 11:43:17 -0400
commitd11dc810d9dc3df56b389491a4d84310014e9712 (patch)
tree87c5659766ea635747564e8414026cd345d7f70d
parent8274a25d2115463e598109a1b5270af9655f2303 (diff)
add settings to dashboard
-rw-r--r--lua/nv-dashboard/init.lua3
-rw-r--r--nv-settings.lua2
2 files changed, 3 insertions, 2 deletions
diff --git a/lua/nv-dashboard/init.lua b/lua/nv-dashboard/init.lua
index 1d24b56a..010aac1a 100644
--- a/lua/nv-dashboard/init.lua
+++ b/lua/nv-dashboard/init.lua
@@ -14,7 +14,8 @@ vim.g.dashboard_custom_section = {
b = {description = {' Recently Used Files'}, command = 'Telescope oldfiles'},
c = {description = {' Load Last Session '}, command = 'SessionLoad'},
d = {description = {' Find Word '}, command = 'Telescope live_grep'},
- e = {description = {'ï‚— Marks '}, command = 'Telescope marks'}
+ e = {description = {' Settings '}, command = ':e ~/.config/nvim/nv-settings.lua'}
+ -- e = {description = {'ï‚— Marks '}, command = 'Telescope marks'}
}
-- file_browser = {description = {' File Browser'}, command = 'Telescope find_files'},
diff --git a/nv-settings.lua b/nv-settings.lua
index 9d8c2ded..e4e3f2be 100644
--- a/nv-settings.lua
+++ b/nv-settings.lua
@@ -15,7 +15,7 @@ O.auto_close_tree = 0
-- add things like O.python.linter.flake8.exec_path
-- add things like O.python.formatter.isort.exec_path
O.python.formatter = 'yapf'
-O.python.linter = 'flake8'
+-- O.python.linter = 'flake8'
O.python.isort = true
O.python.autoformat = true
O.python.diagnostics.virtual_text = true