我在.vimrc
中设置了netrw :e /tmp
。
然后打开vim,运行:mksession!
和im
。
我再次打开v :so Session.vim
,运行netrw
,无法列出<table class="scroll">
<thead style="background-color: #99E1D9; color: #705D56;">
<tr>
<th>ID</th>
<th>Name Client</th>
<th>Last Update</th>
<th style="padding-left: 30%;">Status</th>
</tr>
</thead>
<tbody id="hoverTable">
<?php
$connection = mysql_connect('localhost', 'root', '');
mysql_select_db('patientdb');
$query = "SELECT id, name, date FROM clients";
$result = mysql_query($query);
//status waarden uit
$status = "SELECT status FROM clients";
$status_ = mysql_query($status);
while($row = mysql_fetch_array($result)){ //Loop through results
echo "<tr>
<td>" . $row['id'] . "</td>
<td>" . $row['name'] . "</td>
<td>" . $row['date'] . "</td>
<td style='padding-left: 30%;'>";
if ($status_ > 60) {
echo "red";
} elseif ($status_ > 50) {
echo "yellow";
} else {
echo "green";
}
echo "</td>
</tr>";
}
mysql_close();
?>
</tbody>
</table>
。
答案 0 :(得分:1)
netrw插件使用所谓的暂存缓冲区来显示文件列表。内容不会持久化到磁盘;相反,它们是由插件动态创建和更新的。
会话适用于&#34;正常&#34;由文件备份的缓冲区;大多数插件都不能很好地与他们配合使用。某些会话管理器插件明确支持某些插件,但一般情况下,建议在创建会话之前关闭所有插件窗口,并在会话恢复后重新打开它们。